Internet Direct (Indy)
Home
PreviousUpNext
TIdMessage.Encoding Property

Identifies the encoding algorithm for message attachments.

Pascal
property Encoding: TIdMessageEncoding;

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

 

Value 
Meaning 
meDefault 
Use the message encoding detected by Indy. 
meMIME 
Use MIME encoding rules for the message content. 
meUU 
Use UU-Encoding for the message content. 
meXX 
Use XX-Encoding for the message content. 

 

When the value in Encoding is changed, the corresponding textual representation for the algortihm is stored in AttachmentEncoding; for

"MIME" 
"UUE" 
"XXE" 

 

Encoding is used in GenerateHeader to ensure that ContentType and Charset reflect the values found in the body and attachments stored in message parts. 

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

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.