diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-653A92FB-F752-5210-8C98-9F107D74DC67.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-653A92FB-F752-5210-8C98-9F107D74DC67.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,53 @@ + + + + + +Forwarding +or Replying to Email Messages Stored as Rich TextThis tutorial explains how to forward email messages that are stored +as rich text. +
Procedure
    +
  1. Use the CImEmailOperation::CreateForwardL() function +or the CreateReplyL() function to forward or reply to an +email.

    The newly created email will be stored in the same format as +the original email. In this case, it is rich text format and the formatting +information is preserved while forwarding or replying to the email.

  2. +
  3. Use the CImEmailOperation::ProgressL() function +to obtain the TMsvId parameter of the newly created email. +This is returned through a TPckgC <TMsvId > +descriptor.

  4. +
  5. Use the TMsvId aMessageId parameter +to create a CMsvEntry object.

  6. +
  7. Use the CMsvEntry object +to create a CImEmailMessage object.

  8. +
  9. Use the CImEmailMessage::GetBodyTextL() function +to get the body text of the message that is being replied to or forwarded. +This will return a CRichText class.

  10. +
  11. If you want to use the +rich text format, complete the following step 1. If you want to store the +body text in plain text format, complete the following steps from 2 to 4.

      +
    1. Edit the CRichText class +and call the CImEmailMessage::StoreBodyTextL() function +to store the edited body text.

    2. +
    3. Call the CImEmailMessage::OpenPlainBodyTextForWriteL() function +to get CImPlainBody Text.

    4. +
    5. Call the CImPlainBodyText::StoreRichTextAsPlainTexL() function +and pass the edited CRichText class to store the message.

    6. +
    7. Call the CImPlainBodyText::CommitL() function +to complete the operation.

    8. +
  12. +
+
+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