class TImEmailTransformingInfo |
Encapsulates character conversion and encoding settings for sending SMTP email.
The default outcomes for header, body, HTML, and attachment parts respectively for each of the listed categories are given below:
Plain Charset: ISO-8859-1,ISO-8859-1,N/A,N/A
Plain Encoding:None,None,N/A,UU
MIME Charset:UTF8,UTF8,UTF8*,N/A
MIME Encoding:B,QP,Base64,Base64
: the UTF8 value set in the header field, but no conversion is done. The HTML converter converts to UTF8.
Private Member Functions | |
---|---|
void | SetHeaderEncoding(TImEncodingType) |
IMPORT_C TImEncodingType | AttachmentEncoding | ( | ) | const |
Gets the attachment encoding.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
RWriteStream & aWriteStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aReadStream | ) |
RReadStream & aReadStream |
IMPORT_C void | RestoreL | ( | CMsvStore & | aStore | ) |
Restores the object to the specified message store.
The function can leave with the standard stream leave codes.
CMsvStore & aStore | Store to which to write |
IMPORT_C void | SetAttachmentEncoding | ( | TImEncodingType | aType | ) |
Sets the encoding for email attachments.
This can be one of four possible values : EEncodingTypeNone, EEncodingTypeQP, EEncodingTypeBASE64, or EEncodingTypeUU.
TImEncodingType aType | The email attachment encoding. |
IMPORT_C void | SetBodyTextCharset | ( | TUint | aCharset | ) |
Sets the character set for body text.
TUint aCharset | The character set. |
IMPORT_C void | SetBodyTextEncoding | ( | TImEncodingType | aType | ) |
Sets the body text encoding.
TImEncodingType aType | The body text encoding. This can be one of four possible values: EEncodingTypeNone, EEncodingTypeQP, EEncodingTypeBASE64, or EEncodingTypeUU. |
IMPORT_C void | SetHTMLCharset | ( | TUint | aCharset | ) |
Sets the HTML character set.
TUint aCharset | The character set. |
IMPORT_C void | SetHTMLEncoding | ( | TImEncodingType | aType | ) |
Sets the encoding for HTML email.
TImEncodingType aType | The HTML email encoding. This can be one of four possible values: EEncodingTypeNone, EEncodingTypeQP, EEncodingTypeBASE64, or EEncodingTypeUU. |
IMPORT_C void | SetHeaderAndBodyCharset | ( | TUint | aCharset | ) |
Sets the character set used for both the header and body text.
TUint aCharset | The character set. |
IMPORT_C void | SetHeaderCharset | ( | TUint | aCharset | ) |
Sets the character set used for the header.
TUint aCharset | The character set. |
void | SetHeaderEncoding | ( | TImEncodingType | aType | ) | [private] |
TImEncodingType aType |
IMPORT_C void | SetSendMethod | ( | const TImSendMethod | aMethod | ) |
Sets the method by which email is sent.
This is either ESendAsSimpleEmail or ESendAsMimeEmail.
const TImSendMethod aMethod | The method by which email is sent. |
IMPORT_C void | SetToDefault | ( | const TImSendMethod | aMethod | ) |
Sets the member data to their default values, for the send method specified.
const TImSendMethod aMethod | The send method. |
IMPORT_C void | StoreL | ( | CMsvStore & | aStore | ) | const |
Writes the object to the specified message store.
The function can leave with the standard stream leave codes.
CMsvStore & aStore | Store to which to write |
IMPORT_C TImEmailTransformingInfo & | operator= | ( | const TImEmailTransformingInfo & | aInfo | ) |
Overloaded assignment operator.
const TImEmailTransformingInfo & aInfo | Object from which to copy settings |
IMPORT_C TBool | operator== | ( | const TImEmailTransformingInfo & | aInfo | ) |
Overloaded equality operator.
const TImEmailTransformingInfo & aInfo | Object with which to compare this object |
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.