Internet Direct (Indy) Version 9.0.2 Beta
TIdMessage.Encoding
Identifies the encoding algorithm for message attachments.

property Encoding: TIdMessageEncoding;
Description
Encoding is a TIdMessageEncoding property that represents the value to use for identifying the encoding algorithm for MessageParts in the message. Encoding may contain one of the following values and meanings:

When the value in Encoding is changed, the corresponding textual representation for the algortihm is stored in AttachmentEncoding; for example: "MIME" or "UUE".

Encoding is used in GenerateHeader to insure that ContentType and Charset reflect the values found in attachments stored in MessageParts.

The default value for Encoding is meMIME as assigned in the Create constructor.