Indy 9 | Content | Index | Reference

DecodeAddress
See Also, Unit: IdCoderHeader
Decodes an EMail Address.

    procedure DecodeAddress(EMailAddr: TIdEmailAddressItem);

Unit
IdCoderHeader
Parameters
EMailAddr: TIdEmailAddressItem
Structured EMail address to be decoded.
Description
DecodeAddress is a Procedure used to decode the TIdEmailAddressItem in EMailAddr. DecodeAddress use the DecodeHeader function to remove any encoding in TIdEMailAddressItem.Name, and store the resulting values in EMailAddr.

DecodeAddress is called from DecodeAddresses for each EMail address in the list.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.