diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_imap4_example.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_imap4_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: CImap4Example Class Reference - - - - -

CImap4Example Class Reference

-

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

Public Member Functions

 ~CImap4Example ()
void HandleSessionEventL (TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3)
void CreateClientRegistryL ()
void CreateImapAndSmtpAccountL ()
void CreateSmtpMessageL ()
void SendSMTPMessageL ()
void ConnectAndCopyAllMailAndDisconnectL ()

Static Public Member Functions

static CImap4ExampleNewL ()
-


Detailed Description

-CImap4Example is a class that publicly 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. The class demonstrates the creation of client registry, SMTP and IMAP accounts, SMTP and IMAP messages, connection to email server and sending of the message using the IMAP4 protocol. -

Definition at line 43 of file imap4example.h.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
CImap4Example::~CImap4Example (  ) 
-
-
- -

-Destructor -

Definition at line 88 of file imap4example.cpp.

- -
-

-


Member Function Documentation

- -
-
- - - - - - - - -
CImap4Example * CImap4Example::NewL (  )  [static]
-
-
- -

-Allocates and constructs a CImap4Example object. Initialises all member data to their default values. -

Definition at line 59 of file imap4example.cpp.

- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void CImap4Example::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 383 of file imap4example.cpp.

- -
-

- -

-
- - - - - - - - -
void CImap4Example::CreateClientRegistryL (  ) 
-
-
- -

-Starts a message server session, creates a client side MTM registry and IMAP client MTM. KErrNoMemory KErrNotFound KErrBadLibraryEntryPoint -

Definition at line 105 of file imap4example.cpp.

- -
-

- -

-
- - - - - - - - -
void CImap4Example::CreateImapAndSmtpAccountL (  ) 
-
-
- -

-Creates an IMAP account and SMTP account. It sets the IMAP server address to system address and sets login name and password. ... System wide error codes -

Definition at line 128 of file imap4example.cpp.

- -
-

- -

-
- - - - - - - - -
void CImap4Example::CreateSmtpMessageL (  ) 
-
-
- -

-Creates an SMTP message, stores and then commits settings to a specified message store. KErrNoMemory KErrNotFound KErrAccessDenied -

Definition at line 198 of file imap4example.cpp.

- -
-

- -

-
- - - - - - - - -
void CImap4Example::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 261 of file imap4example.cpp.

- -
-

- -

-
- - - - - - - - -
void CImap4Example::ConnectAndCopyAllMailAndDisconnectL (  ) 
-
-
- -

-Changes the entry on which later actions are performed to the entry with the specified TMsvId. Connects to the IMAP server. Downloads the mail sent using SMTP and disconnects from the service. KErrNoMemory KErrNotFound KErrNotSupported ... System wide error codes -

Definition at line 308 of file imap4example.cpp.

- -
-

-


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