property ContentCharset: string;

 

Description

Holds the charset to encode or decode the message body.

ContentCharset sets the "charset" field in the Content-Type header. When you change ContentCharset, the ContentType property is changed as well, and vice versa.

The default character set is 'us-ascii'.

If you set ContentCharset to 'UTF8', 'Unicode', or 'UTF32', it is recommended that you set ContentTransferEncoding to 'Base64'.

An example of the charset field in the in the Content-Type header: 'Content-type: text/plain; charset=us-ascii; boundary="abcd"'.

 

Use the HeadersCharset property to encode the headers portion of the email message.

 

See Also

Body

ContentType

ContentTransferEncoding

HeadersCharset

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support