CImEmailMessage Class Reference

class CImEmailMessage : public CMsgActive

This class can be used to manipulate new emails that have been created using CImEmailOperation when composing a message.

Use an instance of this class to add attachments, MHTML parts, body text, and existing messages to a new message before it is to be sent.

This class can also be used to retrieve the body text, list of attachments, and embedded messages from emails that have been downloaded and stored within the message store.

If the store_8bit_body_text flag in imcm.rss is enabled, an instance of this class can be used to retrieve the original body text character set for a particular message. It can also be used to override the original body text character set so it will be decoded in a new character set next time it is viewed.

CImEmailOperation

Inherits from

Public Member Functions
~CImEmailMessage()
voidAddAttachmentL(const TDesC &, CMsvAttachment *, TRequestStatus &)
voidAddAttachmentL(RFile &, CMsvAttachment *, TRequestStatus &)
voidAddEntryAsAttachmentL(TMsvId, CMsvAttachment *, TRequestStatus &)
voidAddLinkedAttachmentL(const TDesC &, CMsvAttachment *, TRequestStatus &)
IMPORT_C voidAddRelatedPartL(TMsvId, const TDesC &, TRequestStatus &, TMsvId, const TDesC8 &)
voidAppendEntryAttachmentInfoL()
const RPointerArray< CMsvAttachment > &AttachmentInfoSelection()
IMPORT_C MMsvAttachmentManager &AttachmentManager()
voidCheckEntryAndResetRemoveMessageL(TMsvId)
voidCheckEntryAndResetStoreMessageL(TMsvId)
CImMimeHeader *ConvertToImMimeHeadersL(CMsvMimeHeaders *)
CMsvMimeHeaders *ConvertToMsvMimeHeadersL(CImMimeHeader *)
voidCreateAttachmentL(const TDesC &, RFile &, CMsvAttachment *, TRequestStatus &)
voidDoGetAttachmentsListL(TMsvId, TImAttachmentType, TImEmailEntryType)
voidDoGetBodyTextInitL(TMsvId, TImEmailEntryType, CRichText &, CParaFormatLayer &, CCharFormatLayer &)
voidDoSetActive(TRequestStatus &)
TMsvId EmailEntryId()
IMPORT_C voidFindFirstHTMLPageFileHandleL(TMsvId, TRequestStatus &)
IMPORT_C voidFindFirstHTMLPageL(TMsvId, TRequestStatus &)
IMPORT_C voidFindUniversalResourceIdentifierFileHandleL(TMsvId, const TDesC &, const TDesC &, TRequestStatus &)
IMPORT_C voidFindUniversalResourceIdentifierL(TMsvId, const TDesC &, const TDesC &, TRequestStatus &)
IMPORT_C voidGetAttachmentsListL(TRequestStatus &, TMsvId, TImAttachmentType, TImEmailEntryType)
IMPORT_C voidGetAttachmentsListL(TMsvId, TImAttachmentType, TImEmailEntryType)
IMPORT_C voidGetBodyTextEntryIdL(TRequestStatus &, TMsvId, TImEmailEntryType)
IMPORT_C voidGetBodyTextEntryIdL(TMsvId, TImEmailEntryType)
IMPORT_C voidGetBodyTextL(TRequestStatus &, TMsvId, TImEmailEntryType, CRichText &, CParaFormatLayer &, CCharFormatLayer &)
IMPORT_C voidGetBodyTextL(TMsvId, TImEmailEntryType, CRichText &, CParaFormatLayer &, CCharFormatLayer &)
IMPORT_C voidGetCharacterSetL(TMsvId, TUint &, TBool &)
IMPORT_C voidGetMessageDigestEntriesL(TRequestStatus &, TMsvId)
IMPORT_C TIntGetUniversalResourceIdentifierFileHandle(TMsvId &, RFile &)
IMPORT_C HBufC *GetUniversalResourceIdentifierL(TMsvId &, TBool &)
IMPORT_C CImEmailMessage *NewL(CMsvEntry &)
IMPORT_C CImEmailMessage *NewLC(CMsvEntry &)
IMPORT_C CImPlainBodyText *OpenPlainBodyTextForReadL(TImEmailEntryType, TInt)
IMPORT_C CImPlainBodyText *OpenPlainBodyTextForWriteL()
IMPORT_C const TDesC8 &ProgressL()
voidRemoveAttachedMessageL(TMsvAttachmentId, TRequestStatus &)
voidRemoveAttachmentL(TMsvAttachmentId, TRequestStatus &)
IMPORT_C const CMsvEntrySelection &Selection()
IMPORT_C voidSetCharacterSetL(TMsvId, TUint)
IMPORT_C voidStoreBodyTextL(TMsvId, CRichText &, TRequestStatus &)
IMPORT_C voidStoreBodyTextL(TMsvId, CRichText &, TRequestStatus &, TBool)
IMPORT_C voidStoreBodyTextWithMimeHeaderL(TMsvId, CRichText &, const CImMimeHeader &, TRequestStatus &)
Private Member Functions
CImEmailMessage(CMsvEntry &)
voidAppendAttachmentL()
voidAppendAttachmentNameL()
voidAssembleBodyTextL()
voidAttachmentInfoL()
voidChangeMessageContextL()
voidCheckAndInitialiseL(TMsvId)
voidCompareChildrenAndPopulateSelL()
voidConstructL()
voidDoCancel()
voidDoComplete(TInt &)
voidDoGetBodyTextEntryIdL(TMsvId, TImEmailEntryType)
voidDoRunL()
voidDoStateL()
CImMimeHeader *FindAttachmentMimeHeaderL()
TInt FindFilename(const CImMimeHeader &, TPtrC8 &)
voidFindFilenameDecodeL(const CImMimeHeader &, TFileName &, TUint)
voidFindFirstBodyTextPartL(TMsvId, TBool &)
TMsvEntry FindIdEntryL(TMsvId)
voidGetAttachmentsForRelatedFolderL()
TBool GetBodyTextCharacterSetL()
TUint GetOverrideCharacterSetL()
voidGetTextForAlternateFolderL()
voidGetTextForRelatedFolderL()
TBool HandleDifferentFolderTypesL()
TBool MessageDigestEntry()
voidReset()
voidSetBodyTextCharacterSetL(TMsvId, TUint8)
voidStart(TRequestStatus &)
voidStartL()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMsgActive::CMsgActive(TInt)
CMsgActive::Complete(TInt)
CMsgActive::Queue(TRequestStatus &)
CMsgActive::~CMsgActive()
Public Member Enumerations
enumTImAttachmentType {
EAllAttachments = 0, EVCards, EVCalendars, EVEntries, EEncrypted, ESigned, ESecure, EICalendars
}
enumTImEmailEntryType { EThisMessageOnly, EThisMessageAndEmbeddedMessages }
Private Member Enumerations
enumTImAttachmentStates { ENoAttachment = 0, EAddAttachment, EDeleteAttachment, ECreateAttachment }
enumTImEmailMessageStates {
EIdle = 0, ETextForThisMsg, ETextForMsgDigest, ETextEntryIdForThisMsg, ETextEntryIdMsgDigest, ETextForThisMsgGetCharacterSet, EAttachmentsForThisMsg, EAttachmentsForMsgDigest, EMsgDigestEntries, EResolveURI, EStoreMessagePart, ERemoveMessagePart, EFinished
}
Inherited Enumerations
CActive:TPriority
Private Attributes
CImAttachmentManager *iAttachmentManager
CDesCArray *iAttachmentNameList
TInt iAttachmentState
TImAttachmentType iAttachmentType
CCharFormatLayer *iCharLayer
TUint iCharacterSetId
CMsvEntry &iClientEntry
CMsvEntrySelection *iCompleteSel
TMsvId iEmailEntryId
TMsvEmailEntry iEntry
TImEmailEntryType iEntryType
RFs iFs
TBool iIsAMHTMLmessage
CParaFormatLayer *iParaLayer
TMsvId iParentMsgId
TPckgBuf< TMsvId >iProgress
CImRemoveMessagePart *iRemoveMessagePart
CMsvEntrySelection *iResultSel
CRichText *iRichText
TImEmailMessageStates iState
CMsvStore *iStore
CImStoreMessagePart *iStoreMessagePart
TBool iUriFileFound
CImMhtmlUriResolver *iUriResolver
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CImEmailMessage(CMsvEntry &)

CImEmailMessage(CMsvEntry &aEntry)[private]

Parameters

CMsvEntry & aEntry

~CImEmailMessage()

IMPORT_C~CImEmailMessage()

Member Functions Documentation

AddAttachmentL(const TDesC &, CMsvAttachment *, TRequestStatus &)

voidAddAttachmentL(const TDesC &aFilePath,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)

Parameters

const TDesC & aFilePath
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddAttachmentL(RFile &, CMsvAttachment *, TRequestStatus &)

voidAddAttachmentL(RFile &aFileHandle,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)

Parameters

RFile & aFileHandle
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddEntryAsAttachmentL(TMsvId, CMsvAttachment *, TRequestStatus &)

voidAddEntryAsAttachmentL(TMsvIdaAttachmentEntryId,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)

Parameters

TMsvId aAttachmentEntryId
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddLinkedAttachmentL(const TDesC &, CMsvAttachment *, TRequestStatus &)

voidAddLinkedAttachmentL(const TDesC &aFilePath,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)

Parameters

const TDesC & aFilePath
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

AddRelatedPartL(TMsvId, const TDesC &, TRequestStatus &, TMsvId, const TDesC8 &)

IMPORT_C voidAddRelatedPartL(TMsvIdaMessageId,
const TDesC &aAttachmentFullName,
TRequestStatus &aStatus,
TMsvIdaRelatedPartId,
const TDesC8 &aContentId
)

Parameters

TMsvId aMessageId
const TDesC & aAttachmentFullName
TRequestStatus & aStatus
TMsvId aRelatedPartId
const TDesC8 & aContentId

AppendAttachmentL()

voidAppendAttachmentL()[private]

AppendAttachmentNameL()

voidAppendAttachmentNameL()[private]

AppendEntryAttachmentInfoL()

voidAppendEntryAttachmentInfoL()

AssembleBodyTextL()

voidAssembleBodyTextL()[private]

AttachmentInfoL()

voidAttachmentInfoL()[private]

AttachmentInfoSelection()

const RPointerArray< CMsvAttachment > &AttachmentInfoSelection()const

AttachmentManager()

IMPORT_C MMsvAttachmentManager &AttachmentManager()const

ChangeMessageContextL()

voidChangeMessageContextL()[private]

CheckAndInitialiseL(TMsvId)

voidCheckAndInitialiseL(TMsvIdaMessageId)[private]

Parameters

TMsvId aMessageId

CheckEntryAndResetRemoveMessageL(TMsvId)

voidCheckEntryAndResetRemoveMessageL(TMsvIdaMessageId)

Parameters

TMsvId aMessageId

CheckEntryAndResetStoreMessageL(TMsvId)

voidCheckEntryAndResetStoreMessageL(TMsvIdaMessageId)

Parameters

TMsvId aMessageId

CompareChildrenAndPopulateSelL()

voidCompareChildrenAndPopulateSelL()[private]

ConstructL()

voidConstructL()[private]

ConvertToImMimeHeadersL(CMsvMimeHeaders *)

CImMimeHeader *ConvertToImMimeHeadersL(CMsvMimeHeaders *aMimeHeaders)

Parameters

CMsvMimeHeaders * aMimeHeaders

ConvertToMsvMimeHeadersL(CImMimeHeader *)

CMsvMimeHeaders *ConvertToMsvMimeHeadersL(CImMimeHeader *aMimeHeader)

Parameters

CImMimeHeader * aMimeHeader

CreateAttachmentL(const TDesC &, RFile &, CMsvAttachment *, TRequestStatus &)

voidCreateAttachmentL(const TDesC &aFileName,
RFile &aAttachmentFile,
CMsvAttachment *aAttachmentInfo,
TRequestStatus &aStatus
)

Parameters

const TDesC & aFileName
RFile & aAttachmentFile
CMsvAttachment * aAttachmentInfo
TRequestStatus & aStatus

DoCancel()

voidDoCancel()[private, virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel().

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel().

CActive::Cancel

DoComplete(TInt &)

voidDoComplete(TInt &)[private, virtual]

Parameters

TInt &

DoGetAttachmentsListL(TMsvId, TImAttachmentType, TImEmailEntryType)

voidDoGetAttachmentsListL(TMsvIdaMessageId,
TImAttachmentTypeaAttachmentType,
TImEmailEntryTypeaEntryType
)

Parameters

TMsvId aMessageId
TImAttachmentType aAttachmentType
TImEmailEntryType aEntryType

DoGetBodyTextEntryIdL(TMsvId, TImEmailEntryType)

voidDoGetBodyTextEntryIdL(TMsvIdaMessageId,
TImEmailEntryTypeaEntryType
)[private]

Parameters

TMsvId aMessageId
TImEmailEntryType aEntryType

DoGetBodyTextInitL(TMsvId, TImEmailEntryType, CRichText &, CParaFormatLayer &, CCharFormatLayer &)

voidDoGetBodyTextInitL(TMsvIdaMessageId,
TImEmailEntryTypeaEntryType,
CRichText &aRichText,
CParaFormatLayer &aParaLayer,
CCharFormatLayer &aCharLayer
)

Parameters

TMsvId aMessageId
TImEmailEntryType aEntryType
CRichText & aRichText
CParaFormatLayer & aParaLayer
CCharFormatLayer & aCharLayer

DoRunL()

voidDoRunL()[private, virtual]

DoSetActive(TRequestStatus &)

voidDoSetActive(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

DoStateL()

voidDoStateL()[private]

EmailEntryId()

TMsvId EmailEntryId()

FindAttachmentMimeHeaderL()

CImMimeHeader *FindAttachmentMimeHeaderL()[private]

FindFilename(const CImMimeHeader &, TPtrC8 &)

TInt FindFilename(const CImMimeHeader &aMimeInfo,
TPtrC8 &aFilename
)[private]

Parameters

const CImMimeHeader & aMimeInfo
TPtrC8 & aFilename

FindFilenameDecodeL(const CImMimeHeader &, TFileName &, TUint)

voidFindFilenameDecodeL(const CImMimeHeader &aMimeInfo,
TFileName &aFileName,
TUintaCharset
)[private]

Parameters

const CImMimeHeader & aMimeInfo
TFileName & aFileName
TUint aCharset

FindFirstBodyTextPartL(TMsvId, TBool &)

voidFindFirstBodyTextPartL(TMsvIdaEntryId,
TBool &found
)[private]

Parameters

TMsvId aEntryId
TBool & found

FindFirstHTMLPageFileHandleL(TMsvId, TRequestStatus &)

IMPORT_C voidFindFirstHTMLPageFileHandleL(TMsvIdaMessageId,
TRequestStatus &aStatus
)

Parameters

TMsvId aMessageId
TRequestStatus & aStatus

FindFirstHTMLPageL(TMsvId, TRequestStatus &)

IMPORT_C voidFindFirstHTMLPageL(TMsvIdaMessageId,
TRequestStatus &aStatus
)

Parameters

TMsvId aMessageId
TRequestStatus & aStatus

FindIdEntryL(TMsvId)

TMsvEntry FindIdEntryL(TMsvIdaMessageId)[private]

Parameters

TMsvId aMessageId

FindUniversalResourceIdentifierFileHandleL(TMsvId, const TDesC &, const TDesC &, TRequestStatus &)

IMPORT_C voidFindUniversalResourceIdentifierFileHandleL(TMsvIdaMessageId,
const TDesC &aBase,
const TDesC &aURI,
TRequestStatus &aStatus
)

Parameters

TMsvId aMessageId
const TDesC & aBase
const TDesC & aURI
TRequestStatus & aStatus

FindUniversalResourceIdentifierL(TMsvId, const TDesC &, const TDesC &, TRequestStatus &)

IMPORT_C voidFindUniversalResourceIdentifierL(TMsvIdaMessageId,
const TDesC &aBase,
const TDesC &aURI,
TRequestStatus &aStatus
)[virtual]

Parameters

TMsvId aMessageId
const TDesC & aBase
const TDesC & aURI
TRequestStatus & aStatus

GetAttachmentsForRelatedFolderL()

voidGetAttachmentsForRelatedFolderL()[private]

GetAttachmentsListL(TRequestStatus &, TMsvId, TImAttachmentType, TImEmailEntryType)

IMPORT_C voidGetAttachmentsListL(TRequestStatus &aStatus,
TMsvIdaMessageId,
TImAttachmentTypeaAttachmentType,
TImEmailEntryTypeaEntryType
)

Parameters

TRequestStatus & aStatus
TMsvId aMessageId
TImAttachmentType aAttachmentType
TImEmailEntryType aEntryType

GetAttachmentsListL(TMsvId, TImAttachmentType, TImEmailEntryType)

IMPORT_C voidGetAttachmentsListL(TMsvIdaMessageId,
TImAttachmentTypeaAttachmentType,
TImEmailEntryTypeaEntryType
)

Parameters

TMsvId aMessageId
TImAttachmentType aAttachmentType
TImEmailEntryType aEntryType

GetBodyTextCharacterSetL()

TBool GetBodyTextCharacterSetL()[private]

GetBodyTextEntryIdL(TRequestStatus &, TMsvId, TImEmailEntryType)

IMPORT_C voidGetBodyTextEntryIdL(TRequestStatus &aStatus,
TMsvIdaMessageId,
TImEmailEntryTypeaEntryType
)

Parameters

TRequestStatus & aStatus
TMsvId aMessageId
TImEmailEntryType aEntryType

GetBodyTextEntryIdL(TMsvId, TImEmailEntryType)

IMPORT_C voidGetBodyTextEntryIdL(TMsvIdaMessageId,
TImEmailEntryTypeaEntryType
)

Parameters

TMsvId aMessageId
TImEmailEntryType aEntryType

GetBodyTextL(TRequestStatus &, TMsvId, TImEmailEntryType, CRichText &, CParaFormatLayer &, CCharFormatLayer &)

IMPORT_C voidGetBodyTextL(TRequestStatus &aStatus,
TMsvIdaMessageId,
TImEmailEntryTypeaEntryType,
CRichText &aRichText,
CParaFormatLayer &aParaLayer,
CCharFormatLayer &aCharLayer
)

Parameters

TRequestStatus & aStatus
TMsvId aMessageId
TImEmailEntryType aEntryType
CRichText & aRichText
CParaFormatLayer & aParaLayer
CCharFormatLayer & aCharLayer

GetBodyTextL(TMsvId, TImEmailEntryType, CRichText &, CParaFormatLayer &, CCharFormatLayer &)

IMPORT_C voidGetBodyTextL(TMsvIdaMessageId,
TImEmailEntryTypeaEntryType,
CRichText &aRichText,
CParaFormatLayer &aParaLayer,
CCharFormatLayer &aCharLayer
)

Parameters

TMsvId aMessageId
TImEmailEntryType aEntryType
CRichText & aRichText
CParaFormatLayer & aParaLayer
CCharFormatLayer & aCharLayer

GetCharacterSetL(TMsvId, TUint &, TBool &)

IMPORT_C voidGetCharacterSetL(TMsvIdaMessageId,
TUint &aCharacterSetId,
TBool &aOverride
)

Parameters

TMsvId aMessageId
TUint & aCharacterSetId
TBool & aOverride

GetMessageDigestEntriesL(TRequestStatus &, TMsvId)

IMPORT_C voidGetMessageDigestEntriesL(TRequestStatus &aStatus,
TMsvIdaMessageId
)

Parameters

TRequestStatus & aStatus
TMsvId aMessageId

GetOverrideCharacterSetL()

TUint GetOverrideCharacterSetL()[private]

GetTextForAlternateFolderL()

voidGetTextForAlternateFolderL()[private]

GetTextForRelatedFolderL()

voidGetTextForRelatedFolderL()[private]

GetUniversalResourceIdentifierFileHandle(TMsvId &, RFile &)

IMPORT_C TIntGetUniversalResourceIdentifierFileHandle(TMsvId &aLinkedEntryId,
RFile &aFile
)const [virtual]

Parameters

TMsvId & aLinkedEntryId
RFile & aFile

GetUniversalResourceIdentifierL(TMsvId &, TBool &)

IMPORT_C HBufC *GetUniversalResourceIdentifierL(TMsvId &aLinkedEntryId,
TBool &aFileFound
)const [virtual]

Parameters

TMsvId & aLinkedEntryId
TBool & aFileFound

HandleDifferentFolderTypesL()

TBool HandleDifferentFolderTypesL()[private]

MessageDigestEntry()

TBool MessageDigestEntry()[private]

NewL(CMsvEntry &)

IMPORT_C CImEmailMessage *NewL(CMsvEntry &aEntry)[static]

Parameters

CMsvEntry & aEntry

NewLC(CMsvEntry &)

IMPORT_C CImEmailMessage *NewLC(CMsvEntry &aEntry)[static]

Parameters

CMsvEntry & aEntry

OpenPlainBodyTextForReadL(TImEmailEntryType, TInt)

IMPORT_C CImPlainBodyText *OpenPlainBodyTextForReadL(TImEmailEntryTypeaEntryType,
TIntaChunkLength
)

Parameters

TImEmailEntryType aEntryType
TInt aChunkLength

OpenPlainBodyTextForWriteL()

IMPORT_C CImPlainBodyText *OpenPlainBodyTextForWriteL()

ProgressL()

IMPORT_C const TDesC8 &ProgressL()const

RemoveAttachedMessageL(TMsvAttachmentId, TRequestStatus &)

voidRemoveAttachedMessageL(TMsvAttachmentIdaAttachmentId,
TRequestStatus &aStatus
)

Parameters

TMsvAttachmentId aAttachmentId
TRequestStatus & aStatus

RemoveAttachmentL(TMsvAttachmentId, TRequestStatus &)

voidRemoveAttachmentL(TMsvAttachmentIdaAttachmentId,
TRequestStatus &aStatus
)

Parameters

TMsvAttachmentId aAttachmentId
TRequestStatus & aStatus

Reset()

voidReset()[private]

Selection()

IMPORT_C const CMsvEntrySelection &Selection()const

SetBodyTextCharacterSetL(TMsvId, TUint8)

voidSetBodyTextCharacterSetL(TMsvIdaEntryId,
TUint8aNewCharacterSetId
)[private]

Parameters

TMsvId aEntryId
TUint8 aNewCharacterSetId

SetCharacterSetL(TMsvId, TUint)

IMPORT_C voidSetCharacterSetL(TMsvIdaMessageId,
TUintaCharacterSetId
)

Parameters

TMsvId aMessageId
TUint aCharacterSetId

Start(TRequestStatus &)

voidStart(TRequestStatus &aStatus)[private]

Parameters

TRequestStatus & aStatus

StartL()

voidStartL()[private]

StoreBodyTextL(TMsvId, CRichText &, TRequestStatus &)

IMPORT_C voidStoreBodyTextL(TMsvIdaMessageId,
CRichText &aRichText,
TRequestStatus &aStatus
)

Parameters

TMsvId aMessageId
CRichText & aRichText
TRequestStatus & aStatus

StoreBodyTextL(TMsvId, CRichText &, TRequestStatus &, TBool)

IMPORT_C voidStoreBodyTextL(TMsvIdaMessageId,
CRichText &aRichText,
TRequestStatus &aStatus,
TBoolaUsePlainTextStorage
)

Parameters

TMsvId aMessageId
CRichText & aRichText
TRequestStatus & aStatus
TBool aUsePlainTextStorage

StoreBodyTextWithMimeHeaderL(TMsvId, CRichText &, const CImMimeHeader &, TRequestStatus &)

IMPORT_C voidStoreBodyTextWithMimeHeaderL(TMsvIdaMessageId,
CRichText &aRichText,
const CImMimeHeader &aMimeHeader,
TRequestStatus &aStatus
)

Parameters

TMsvId aMessageId
CRichText & aRichText
const CImMimeHeader & aMimeHeader
TRequestStatus & aStatus

Member Enumerations Documentation

Enum TImAttachmentStates

Enumerators

ENoAttachment = 0
EAddAttachment
EDeleteAttachment
ECreateAttachment

Enum TImAttachmentType

Flags to specify types of attachment.

Enumerators

EAllAttachments = 0

All attachments.

EVCards

VCards.

EVCalendars

VCalendars.

EVEntries

VCards, VCalendars and ICalendars.

EEncrypted

Encrypted.

ESigned

Signed.

ESecure

Secure.

EICalendars

ICalendars.

Enum TImEmailEntryType

Flags that specify to process on any messages embedded in this message.

Enumerators

EThisMessageOnly

Do not process embedded messages.

EThisMessageAndEmbeddedMessages

Process embedded messages.

Enum TImEmailMessageStates

Enumerators

EIdle = 0
ETextForThisMsg
ETextForMsgDigest
ETextEntryIdForThisMsg
ETextEntryIdMsgDigest
ETextForThisMsgGetCharacterSet
EAttachmentsForThisMsg
EAttachmentsForMsgDigest
EMsgDigestEntries
EResolveURI
EStoreMessagePart
ERemoveMessagePart
EFinished

Member Data Documentation

CImAttachmentManager * iAttachmentManager

CImAttachmentManager *iAttachmentManager[private]

CDesCArray * iAttachmentNameList

CDesCArray *iAttachmentNameList[private]

TInt iAttachmentState

TInt iAttachmentState[private]

TImAttachmentType iAttachmentType

TImAttachmentType iAttachmentType[private]

CCharFormatLayer * iCharLayer

CCharFormatLayer *iCharLayer[private]

TUint iCharacterSetId

TUint iCharacterSetId[private]

CMsvEntry & iClientEntry

CMsvEntry &iClientEntry[private]

CMsvEntrySelection * iCompleteSel

CMsvEntrySelection *iCompleteSel[private]

TMsvId iEmailEntryId

TMsvId iEmailEntryId[private]

TMsvEmailEntry iEntry

TMsvEmailEntry iEntry[private]

TImEmailEntryType iEntryType

TImEmailEntryType iEntryType[private]

RFs iFs

RFs iFs[private]

TBool iIsAMHTMLmessage

TBool iIsAMHTMLmessage[private]

CParaFormatLayer * iParaLayer

CParaFormatLayer *iParaLayer[private]

TMsvId iParentMsgId

TMsvId iParentMsgId[private]

TPckgBuf< TMsvId > iProgress

TPckgBuf< TMsvId >iProgress[private]

CImRemoveMessagePart * iRemoveMessagePart

CImRemoveMessagePart *iRemoveMessagePart[private]

CMsvEntrySelection * iResultSel

CMsvEntrySelection *iResultSel[private]

CRichText * iRichText

CRichText *iRichText[private]

TImEmailMessageStates iState

TImEmailMessageStates iState[private]

CMsvStore * iStore

CMsvStore *iStore[private]

CImStoreMessagePart * iStoreMessagePart

CImStoreMessagePart *iStoreMessagePart[private]

TBool iUriFileFound

TBool iUriFileFound[private]

CImMhtmlUriResolver * iUriResolver

CImMhtmlUriResolver *iUriResolver[private]