Difference between revisions of "TSmtpCli.DefaultEncoding"

From Overbyte
Jump to navigation Jump to search
 
 
Line 15: Line 15:
  
 
== Best Practice ==
 
== Best Practice ==
 +
Set it to smtpEnc7Bit and disable property Allow8BitChars.
 +
 
== See also ==
 
== See also ==
 
*[[What's_new_in_TSmtpCli_V7 | What's new in TSmtpCli V7]]
 
*[[What's_new_in_TSmtpCli_V7 | What's new in TSmtpCli V7]]

Latest revision as of 12:11, 29 May 2009

Main page -> ICS component reference -> TSmtpCli -> DefaultEncoding

Definition

property DefaultEncoding : TSmtpDefaultEncoding;

Description

Default Transfer-Encoding.

Possible values are:

smtpEnc7bit, smtpEnc8bit, smtpEncQuotedPrintable, smtpEncBase64 

The value actually used by the component may change depending on value of property Allow8BitChars. If Allow8BitChars is set to FALSE and either smtpEnc7bit or smtpEnc8bit is set the component would encode strings quoted-printable if encoding was required, if smtpEncQuotedPrintable or smtpEncBase64 is set this encoding is enforced, regardless whether encoding was required or not.

Best Practice

Set it to smtpEnc7Bit and disable property Allow8BitChars.

See also