TSmtpCli.Allow8BitChars

From Overbyte
Jump to navigation Jump to search

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

Definition

property Allow8BitChars: Boolean;

Description

If set to FALSE enables encoding of header lines and MailMessage text. The component detects whether a string contains 8-bit characters and encodes it either quoted-printable or base64 internally if required. In order to enforce encoding set property DefaultEncoding to either smtpEncQuotedPrintable or smtpEncBase64.

Example

Best practices

Set it to FALSE. The default value is TRUE for backwards compatibility only.

How to