![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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.
Defined in TImEmailTransformingInfo
:
AttachmentEncoding()const
Gets the attachment encoding.BodyTextCharset()const
Gets the character set for the body text.BodyTextEncoding()const
Gets the body text encoding.ExternalizeL(RWriteStream &)const
HTMLCharset()const
Gets the HTML character set.HTMLEncoding()const
Gets the HTML encoding.HeaderCharset()const
Gets the character set for the header.HeaderEncoding()const
Gets the header encoding.InternalizeL(RReadStream &)
RestoreL(CMsvStore &)
Restores the object to the specified message store.SendMethod()const
Gets the current send method.SetAttachmentEncoding(TImEncodingType)
Sets the encoding for email attachments.SetBodyTextCharset(TUint)
Sets the character set for body text.SetBodyTextEncoding(TImEncodingType)
Sets the body text encoding.SetHTMLCharset(TUint)
Sets the HTML character set.SetHTMLEncoding(TImEncodingType)
Sets the encoding for HTML email.SetHeaderAndBodyCharset(TUint)
Sets the character set used for both the header and body text.SetHeaderCharset(TUint)
Sets the character set used for the header.SetHeaderEncodingB()
Sets the header encoding to type B. SetHeaderEncodingQ()
Sets the header encoding to type Q. SetSendMethod(const TImSendMethod)
Sets the method by which email is sent.SetToDefault(const TImSendMethod)
Sets the member data to their default values, for the send method specified.StoreL(CMsvStore &)const
Writes the object to the specified message store.operator=(const TImEmailTransformingInfo &)
Overloaded assignment operator.operator==(const TImEmailTransformingInfo &)
Overloaded equality operator.IMPORT_C TImEmailTransformingInfo& operator=(const TImEmailTransformingInfo &aInfo);
Overloaded assignment operator.
|
|
IMPORT_C TBool operator==(const TImEmailTransformingInfo &aInfo);
Overloaded equality operator.
|
|
IMPORT_C void ExternalizeL(RWriteStream &aWriteStream) const;
|
IMPORT_C void InternalizeL(RReadStream &aReadStream);
|
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.
|
IMPORT_C void RestoreL(CMsvStore &aStore);
Restores the object to the specified message store.
The function can leave with the standard stream leave codes.
|
IMPORT_C void SetToDefault(const TImSendMethod aMethod);
Sets the member data to their default values, for the send method specified.
|
IMPORT_C void SetSendMethod(const TImSendMethod aMethod);
Sets the method by which email is sent.
This is either ESendAsSimpleEmail or ESendAsMimeEmail.
|
IMPORT_C TImSendMethod SendMethod() const;
Gets the current send method.
|
IMPORT_C void SetBodyTextEncoding(TImEncodingType aType);
Sets the body text encoding.
|
IMPORT_C void SetHTMLEncoding(TImEncodingType aType);
Sets the encoding for HTML email.
|
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.
|
IMPORT_C void SetHeaderAndBodyCharset(TUint aCharset);
Sets the character set used for both the header and body text.
|
IMPORT_C void SetHeaderCharset(TUint aCharset);
Sets the character set used for the header.
|
IMPORT_C void SetBodyTextCharset(TUint aCharset);
Sets the character set for body text.
|
IMPORT_C void SetHTMLCharset(TUint aCharset);
Sets the HTML character set.
|
IMPORT_C TImEncodingType HeaderEncoding() const;
Gets the header encoding.
|
IMPORT_C TImEncodingType BodyTextEncoding() const;
Gets the body text encoding.
|
IMPORT_C TImEncodingType HTMLEncoding() const;
Gets the HTML encoding.
|
IMPORT_C TImEncodingType AttachmentEncoding() const;
Gets the attachment encoding.
|
IMPORT_C TUint HeaderCharset() const;
Gets the character set for the header.
|
IMPORT_C TUint BodyTextCharset() const;
Gets the character set for the body text.
|
IMPORT_C TUint HTMLCharset() const;
Gets the HTML character set.
|