This 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.
Create an email entry in the message store using CImEmailOperation::CreateNewL(), which takes all the following nine parameters.
Set the TBool parameter to EFalse.
Use the CImEmailOperation::ProgressL() function to obtain the TMsvId parameter of the newly created email. This is returned through a TPckgC <TMsvId > descriptor.
Create a CMsvEntry object using the TMsvId aMessageId parameter of the newly created email.
Use the CMsvEntry object to the create a CImEmailMessage object.
Create the body text of the email and insert into a CRichText object.
Call the CImEmailMessage::StoreBodyTextL() function and pass the CRichText class that contains the body text of the message.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.