diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_pop3_example.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_pop3_example.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,238 +0,0 @@ - - -TB10.1 Example Applications: CPop3Example Class Reference - - - - -

CPop3Example Class Reference

-

-List of all members. - - - - - - - - - - - - - - - - - - - -

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 CPop3ExampleNewL ()
-


Detailed Description

-A class that publicily inherits two classes, CBase and MMsvSessionObserver. CBase is the base class for all classes to be instantiated on the heap. MMsvSessionObserver is the interface for notification of events from a Message Server session. Objects that need to observe a session view should implement this interface. -

Definition at line 59 of file pop3Example.h.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
CPop3Example::~CPop3Example (  ) 
-
-
- -

-Destructor -

Definition at line 78 of file pop3Example.cpp.

- -
-

-


Member Function Documentation

- -
-
- - - - - - - - -
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.

Parameters:
- - - - - -
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.

- -
-

-


Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by  - -doxygen 1.5.3
- -