diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-0DA1FA9A-0F61-580D-922F-02B33CEA09D6.dita --- a/Symbian3/PDK/Source/GUID-0DA1FA9A-0F61-580D-922F-02B33CEA09D6.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-0DA1FA9A-0F61-580D-922F-02B33CEA09D6.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,44 +1,44 @@ - - - - - -Reading -Email Messages Using the Plain Text APIThis tutorial explains how to read email messages using the plain -text API. -
Introduction

You can download and -store email messages using the CMsvPlainBodyText API, and -read them using the CImPlainBodyText API.

-
Procedure
    -
  1. Use the TMsvId aMessageId parameter -of the downloaded email to create the CMsvEntry class.

  2. -
  3. Use the CMsvEntry class -to create the CImEmailMessage object.

  4. -
  5. Call the CImEmailMessage::OpenPlainBodyTextForReadL() function -to get the CMsvPlainBodyText instance, passing in the number -of characters that will be populated for each read operation.

  6. -
  7. Use the CImPlainBodyText::NextChunkL() function -or the CImPlainBodyText::PreviousChunkL() function to retrieve -the body text of the message.

    Note: The NextChunkL() function -is used to get the data of the email message in chunks and in sequential order -from the beginning of the body text to the end of it. PreviousChunkL() is -used to get the chunk that is previously retrieved by the NextChunkL() function. -The size of the chunk is specified in the call to the OpenPlainBodyTextForReadL() function.

    Email -applications must check the length of the chunk populated. If the length is -zero (0) it indicates that it has reached the last chunk of the previous read -operation.

  8. -
-
-Chunk Method -to Process Emails -Imap4Example: -An Email manager using IMAP4 and SMTP -Pop3Example: -An Email manager using POP3 and SMTP + + + + + +Reading +Email Messages Using the Plain Text APIThis tutorial explains how to read email messages using the plain +text API. +
Introduction

You can download and +store email messages using the CMsvPlainBodyText API, and +read them using the CImPlainBodyText API.

+
Procedure
    +
  1. Use the TMsvId aMessageId parameter +of the downloaded email to create the CMsvEntry class.

  2. +
  3. Use the CMsvEntry class +to create the CImEmailMessage object.

  4. +
  5. Call the CImEmailMessage::OpenPlainBodyTextForReadL() function +to get the CMsvPlainBodyText instance, passing in the number +of characters that will be populated for each read operation.

  6. +
  7. Use the CImPlainBodyText::NextChunkL() function +or the CImPlainBodyText::PreviousChunkL() function to retrieve +the body text of the message.

    Note: The NextChunkL() function +is used to get the data of the email message in chunks and in sequential order +from the beginning of the body text to the end of it. PreviousChunkL() is +used to get the chunk that is previously retrieved by the NextChunkL() function. +The size of the chunk is specified in the call to the OpenPlainBodyTextForReadL() function.

    Email +applications must check the length of the chunk populated. If the length is +zero (0) it indicates that it has reached the last chunk of the previous read +operation.

  8. +
+
+Chunk Method +to Process Emails +Imap4Example: +An Email manager using IMAP4 and SMTP +Pop3Example: +An Email manager using POP3 and SMTP
\ No newline at end of file