diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_pop3_example.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_pop3_example.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,238 @@ + +
+Public Member Functions | |
~CPop3Example () | |
void | HandleSessionEventL (TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3) |
void | CreateClientRegistryL () |
void | CreatePopAndSmtpAccountL () |
void | CreateSmtpMessageL () |
void | SendSMTPMessageL () |
void | ConnectDownloadAndDisconnectPOPServerL () |
Static Public Member Functions | |
static CPop3Example * | NewL () |
Definition at line 59 of file pop3Example.h.
+CPop3Example::~CPop3Example | +( | ++ | ) | ++ |
+Destructor +
Definition at line 78 of file pop3Example.cpp.
+ ++
CPop3Example * CPop3Example::NewL | +( | ++ | ) | + [static] |
+
+Allocates and constructs a CPop3Example object. Initialises all member data to their default values. +
Definition at line 52 of file pop3Example.cpp.
+ +void CPop3Example::HandleSessionEventL | +( | +TMsvSessionEvent | +aEvent, | +|
+ | + | TAny * | +aArg1, | +|
+ | + | TAny * | +aArg2, | +|
+ | + | TAny * | +aArg3 | + |
+ | ) | ++ |
+Implements the session observer interface to update the registry information when MTM groups are installed or uninstalled. Invoked by the active object mechanism.
aEvent | Event type | |
aArg1 | Event type-specific argument value (unused) | |
aArg2 | Event type-specific argument value (unused) | |
aArg3 | Event type-specific argument value (unused) System wide error codes |
Definition at line 354 of file pop3Example.cpp.
+ +void CPop3Example::CreateClientRegistryL | +( | ++ | ) | ++ |
+Starts a message server session, creates a client side mtm registry and pop client mtm. KErrNoMemory, KErrNotFound, KErrBadLibraryEntryPoint +
Definition at line 96 of file pop3Example.cpp.
+ +void CPop3Example::CreatePopAndSmtpAccountL | +( | ++ | ) | ++ |
+Creates a pop account and an smtp account. Sets the pop server address to system address and sets login name and password system wide error codes +
Definition at line 122 of file pop3Example.cpp.
+ +void CPop3Example::CreateSmtpMessageL | +( | ++ | ) | ++ |
+Creates an smtp message,stores and then commits settings to a specified message store. KErrNoMemory,KErrNotFound,KErrAccessDenied,Standard +
Definition at line 190 of file pop3Example.cpp.
+ +void CPop3Example::SendSMTPMessageL | +( | ++ | ) | ++ |
+Accesses the entry with the specified ID. Sets the context to the specified entry. Sends the created smtp mail. KErrNoMemory,KErrNotFound +
Definition at line 254 of file pop3Example.cpp.
+ +void CPop3Example::ConnectDownloadAndDisconnectPOPServerL | +( | ++ | ) | ++ |
+Changes the entry on which later actions are performed to the entry with the specified TMsvId. Connects to the pop server. Downloads the mail sent using smtp and disconnects from the service. KErrNoMemory,KErrNotFound,KErrNotSupported,system wide error codes +
Definition at line 297 of file pop3Example.cpp.
+ ++