This tutorial explains how to read email messages using the plain text API.
Use the TMsvId aMessageId parameter of the downloaded email to create the CMsvEntry class.
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.
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.