diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-F9F45DE7-6688-5C31-90F0-0BEA72E74034.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-F9F45DE7-6688-5C31-90F0-0BEA72E74034.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,47 @@ + + + + + +Creating +Email Messages in Rich Text FormatThis tutorial explains how to store the email message data in rich +text format. Storing email messages in rich text format results in increased +RAM storage space, when compared to storing messages in plain text format. +
Procedure
    +
  1. Create an email entry +in the message store using CImEmailOperation::CreateNewL(), +which takes all the following nine parameters.

    static IMPORT_C CImEmailOperation *CreateNewL(TRequestStatus &aObserverRequestStatus, +CMsvSession &aMsvSession, TMsvId aDestination, TMsvId aSmtpServiceId, +TMsvPartList aPartList, const TMsvEmailTypeList &aMsvEmailTypeList, +TUid aMsgType, TInt aPriority, TBool aUsePlainTextStorage);

  2. +
  3. Set the TBool parameter +to EFalse.

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

  6. +
  7. Create a CMsvEntry object +using the TMsvId aMessageId parameter +of the newly created email.

  8. +
  9. Use the CMsvEntry object +to the create a CImEmailMessage object.

  10. +
  11. Create the body text +of the email and insert into a CRichText object.

  12. +
  13. Call the CImEmailMessage::StoreBodyTextL() function +and pass the CRichText class that contains the body text +of the message.

  14. +
+
+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