examples/Messaging/Imap4Example/imap4example.cpp File Reference

Go to the source code of this file.

Functions

 _LIT (KTitle,"Imap4example")
 _LIT (KTextPressAKey,"\n\n Press any key to step through the example")
 _LIT (KExit,"\n\n Press any key to exit the application ")
 _LIT (KCreateMtm,"\n\n Creating an IMAP4 client MTM")
 _LIT (KTxtAccountName,"ImapAccount")
 _LIT (KCreateAccounts,"\n\n Creating IMAP and SMTP acoounts")
 _LIT (KSmtpServerAddress,"ban-sindhub01.intra")
 _LIT (KEmailAlias,"Messaging example")
 _LIT (KSmtpEmailAddress,"ban-sindhub01@ban-sindhub01.intra")
 _LIT8 (KFrom,"ban-sindhub01@ban-sindhub01.intra")
 _LIT (KTo,"ban-sindhub01@ban-sindhub01.intra")
 _LIT (KSubject,"SimpleEmail")
 _LIT (KBodyContents,"This is a very simple mail")
 _LIT (KSendMail,"\n\n Sending the mail ... please wait")
 _LIT (KImapServer,"ban-sindhub01.intra")
 _LIT8 (KImapPassword,"ban-sindhub01")
 _LIT8 (KImapLoginName,"ban-sindhub01")
 _LIT (KWait,"\n\n Connecting to the IMAP server")
 _LIT (KPopulate,"\n\n Downloading........")
 _LIT (KDisconnect,"\n\n Disconnecting from the IMAP server")
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()


Detailed Description

Definition in file imap4example.cpp.


Function Documentation

LOCAL_C void MainL (  ) 

Much simpler MainL(), uses the new Rendezvous() call to sync with the client

Secure variant Much simpler, uses the new Rendezvous() call to sync with the client

Definition at line 386 of file imap4example.cpp.

GLDEF_C TInt E32Main (  ) 

Returns standard error code on exit

Secure variant only Process entry point. Called by client using RProcess API

Returns:
Standard Epoc error code on process exit

Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API

Entry point for the example

The E32main function is the main entry point for the code.

The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1

Standard entry point function.

Definition at line 428 of file imap4example.cpp.


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