Charset Property
Previous  Top  Next


Charset property specifies character set of the attachment.

Syntax

[Visual Basic]


objMailAttachment.Charset = "iso-8859-1"

[VBScript]


objMailAttachment.Charset = "iso-8859-1"

[C#]


objMailAttachment.Charset = "iso-8859-1";

[C++]


HRESULT get_Charset(BSTR*);
HRESULT put_Charset(BSTR);

spMailAttachment->PutCharset("iso-8859-1");


Remarks

Charset indicates which character set should be used to display the attachment. Default value of Charset property is an empty string. Only text attachments should have Charset property set.