Reading Email Messages Using the Rich Text API

This tutorial explains how to read email messages using the rich text API.

Introduction

You can download and store email messages using any of the following interfaces, and read them using the CRichText API.

Procedure

To read an email message using the CRichText class, complete the following steps:

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

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

  3. Use the CImEmailMessage::GetBodyTextL() function to get the body text in the CRichText class.

Related concepts