EncodeAddress
Encodes RFC 822 EMail Addresses that contains special characters.
Unit
Parameters
EmailAddr: TIdEMailAddressList
List containingt Email addresses to be encoded.
const HeaderEncoding: Char
Encoding to use for the EMail addresses.
TransferHeader: TTransfer
Transfer encoding to use for the EMail addresses.
MimeCharSet: string
MIME character set to use for the EMail addresses.
Return Value
String - comma-delimited representation of the encoded Email addresses.
Description
EncodeAddress is a String function that encodes RFC 822-compliant EMail Addresses that contains special characters. EncodeAddress calls
EncodeAddressItem for each EMail address in the list EMailAddr.
The return value for EncodeAddress is a String containing the comma-delimited representation of the encoded Email addresses.