diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/pop3_example_8cpp.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/pop3_example_8cpp.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,138 @@ + + +TB10.1 Example Applications: examples/Messaging/Pop3Example/pop3Example.cpp File Reference + + + + +

examples/Messaging/Pop3Example/pop3Example.cpp File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Functions

_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 a Pop3 client MTM")
_LIT (KKeyPress,"\n\n Press any key")
_LIT (KTxtAccountName,"PopAccount")
_LIT (KCreatePopAccount,"\n\n Creating a Pop account")
_LIT (KCreateSmtpAccount,"\n\n Creating an Smtp account")
_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 (KPopServer,"ban-sindhub01.intra")
_LIT8 (KPopPassword,"ban-sindhub01")
_LIT8 (KPopLoginName,"ban-sindhub01")
_LIT (KWait,"\n\n Connecting to pop3 server")
_LIT (KDownload,"\n\n Downloading mail from the pop3 server")
_LIT (KDisconnect,"\n\n Press any key to disconnect")
LOCAL_C void MainL ()
GLDEF_C TInt E32Main ()
+


Detailed Description

+ +

Definition in file pop3Example.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 357 of file pop3Example.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 403 of file pop3Example.cpp.

+ +
+

+


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