Internet Direct (Indy)
Home
PreviousUpNext
DecodeAddresses Function

Decodes a list of email addresses.

Pascal
procedure DecodeAddresses(
    AEMails: String; 
    EMailAddr: TIdEmailAddressList
);
Parameters 
Description 
AEMails 
Email address(es) in string form.
 
EMailAddr 
Structured EMail address(es) to be decoded. 

DecodeAddresses is a procedure used to remove content and transfer encodings applied to email addresses specified in the AEmails argument. DecodeAddresses assigns thelist of email addresses in AEMails to the TIdEmailAddressList specified in EmailAddr. 

DecodeAddresses iterates over the TIdEmailAddressItem instances in EMailAddr, and calls DecodeAddress to remove the content and transfer encodings applied to the object instance. The resulting values are stored in EMailAddr.

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.