MessageBodyCharset Property

<< Click to Display Table of Contents >>

Navigation:  Reference > MailMessage >

MessageBodyCharset Property

 

MessageBodyCharset property specifies character set of main body of e-mail message.

 

Syntax

 

[Visual Basic]


objMailMessage.MessageBodyCharset = "unicode"

 

[VBScript]


objMailMessage.MessageBodyCharset = "unicode"

 

[C#]


objMailMessage.MessageBodyCharset = "unicode";

 

[C++]


HRESULT get_MessageBodyCharset(BSTR*);

HRESULT put_MessageBodyCharset(BSTR);

 

spMailMessage->PutMessageBodyCharset("unicode");

 

 

Remarks

 

MessageBodyCharset indicates which character set should be used to display main body of the message. Default value of MessageBodyCharset property is an empty string. Most common values of MessageBodyCharset property are:

"us-ascii"                - US ASCII

"iso-8859-1"                - Western European (ISO)

"windows-1252"                - Western European (Windows)

"unicode"                - Unicode (internally converted to UTF-8)

"iso-8859-2"                - Central European (ISO)

"windows-1250"                - Central European (Windows)

 

For more information please visit Charsets in Microsoft Internet Explorer.