| class CImHeader : public CBase |
Encapsulates an Internet Mail (RFC822) header.
Note that the class contains some obsolete functions that take a narrow descriptor: always use the equivalent wide descriptor function instead.
| Private Member Functions | |
|---|---|
| CImHeader() | |
| void | ConstructL() |
| void | FormatSubjectL(CImHeader &, TDesC &) |
| TBool | IsRecipientPresent(CImHeader &, TPtrC16) |
| void | ReadRecipientsL(RReadStream &, CDesCArray *) |
| void | WriteRecipientsL(RWriteStream &, const CDesCArray *) |
| Public Member Enumerations | |
|---|---|
| enum | TReplyTo { EOriginator, ESender, EAll, ERecipients } |
| Private Attributes | |
|---|---|
| TUint | i822HeaderCharset |
| CDesCArray * | iBcc |
| TMsgOutboxBodyEncoding | iBodyEncoding |
| CDesCArray * | iCc |
| CImEncodedHeader * | iEncodedHeader |
| CArrayFix< TImHeaderEncodingInfo > * | iEncodingInfo |
| HBufC16 * | iFrom |
| HBufC8 * | iImMsgId |
| HBufC8 * | iInReplyTo |
| HBufC16 * | iReceipt |
| TUint | iRemoteSize |
| HBufC16 * | iReplyTo |
| CDesCArray * | iResentBcc |
| CDesCArray * | iResentCc |
| HBufC * | iResentFrom |
| HBufC8 * | iResentMsgId |
| CDesCArray * | iResentTo |
| HBufC * | iSubject |
| CDesCArray * | iTo |
| TUint16 | iVersion |
| IMPORT_C void | AddEncodingInfoL | ( | TImHeaderEncodingInfo & | aInfo | ) |
| TImHeaderEncodingInfo & aInfo |
| const CDesCArray & | BccRecipients | ( | ) | const [inline] |
Gets a const list of "Bcc" recipients. Recipient list
| const CDesCArray & | CcRecipients | ( | ) | const [inline] |
Gets a const list of "Cc" recipients. Recipient list
| IMPORT_C TInt | CreateReplyL | ( | CImHeader & | , |
| TReplyTo | , | |||
| TDesC & | ||||
| ) | ||||
| CArrayFix< TImHeaderEncodingInfo > & | EncodingInfo | ( | ) | [inline] |
Gets information relating to the encoding of header fields in received email.
This includes the charset. This information can be used when forwarding the email, to re-encode the header fields.
Encoding information
| const CArrayFix< TImHeaderEncodingInfo > & | EncodingInfo | ( | ) | const [inline] |
Gets const information relating to the encoding of header fields in received email.
This includes the charset. This information can be used when forwarding the email, to re-encode the header fields.
Encoding information
| IMPORT_C void | ExternalizeL | ( | RMsvWriteStream & | aWriteStream | ) | const |
| RMsvWriteStream & aWriteStream |
| IMPORT_C void | InternalizeL | ( | RMsvReadStream & | aReadStream | ) |
| RMsvReadStream & aReadStream |
| TBool | IsRecipientPresent | ( | CImHeader & | aCImHeader, |
| TPtrC16 | newRecipient | |||
| ) | [private] | |||
| void | ReadRecipientsL | ( | RReadStream & | , |
| CDesCArray * | ||||
| ) | [private] | |||
| RReadStream & | |
| CDesCArray * |
| IMPORT_C void | RestoreL | ( | CMsvStore & | aMessageStore | ) |
| CMsvStore & aMessageStore |
| IMPORT_C void | SetBodyEncoding | ( | TMsgOutboxBodyEncoding | aMessageBodyEncoding | ) |
| TMsgOutboxBodyEncoding aMessageBodyEncoding |
| IMPORT_C void | SetFromL | ( | const TDesC16 & | aFrom | ) |
| const TDesC16 & aFrom |
| IMPORT_C void | SetImMsgIdL | ( | const TDesC8 & | aImMsgIdL | ) |
Sets the "MessageId" header field.
| const TDesC8 & aImMsgIdL | Field value |
| IMPORT_C void | SetReceiptAddressL | ( | const TDesC8 & | aReceiptAddress | ) |
Sets the "Receipt" header field.
| const TDesC8 & aReceiptAddress | Field value |
| IMPORT_C void | SetReceiptAddressL | ( | const TDesC16 & | aReceiptAddress | ) |
Sets the "Receipt" header field.
| const TDesC16 & aReceiptAddress | Field value |
| IMPORT_C void | SetReplyToL | ( | const TDesC8 & | aReplyTo | ) |
| const TDesC8 & aReplyTo |
| IMPORT_C void | SetReplyToL | ( | const TDesC16 & | aReplyTo | ) |
| const TDesC16 & aReplyTo |
| IMPORT_C void | SetResentMsgIdL | ( | const TDesC8 & | ) |
| const TDesC8 & |
| IMPORT_C void | SetSubjectL | ( | const TDesC8 & | aSubject | ) |
| const TDesC8 & aSubject |
| IMPORT_C void | SetSubjectL | ( | const TDesC16 & | aSubject | ) |
| const TDesC16 & aSubject |
| IMPORT_C void | StoreL | ( | CMsvStore & | aMessageStore | ) | const |
| CMsvStore & aMessageStore |
| IMPORT_C void | StoreWithoutCommitL | ( | CMsvStore & | aMessageStore | ) | const |
| CMsvStore & aMessageStore |
| const CDesCArray & | ToRecipients | ( | ) | const [inline] |
Gets a const list of "To" recipients. Recipient list
| void | WriteRecipientsL | ( | RWriteStream & | , |
| const CDesCArray * | ||||
| ) | const [private] | |||
| RWriteStream & | |
| const CDesCArray * |
Flags used to determine where to obtain the ReplyTo address for the header field of that name.
| EOriginator |
Get address from originator. |
| ESender |
Get address from sender. |
| EAll |
Get address from all sources. |
| ERecipients |
Get address from recipients. |
| CArrayFix< TImHeaderEncodingInfo > * | iEncodingInfo | [private] |