Internet Direct (Indy)
Home
PreviousUpNext
TIdEMailAddressList.FillTStrings Method

Fills a string list with email addresses in the collection.

Pascal
procedure FillTStrings(
    AStrings: TIdStrings
);
Parameters 
Description 
AStrings 
List of email addresses in the collection. 

FillTStrings is a method used to fill the TIdStrings instance, specified by AStrings, with the RFC-2822 formatted EMail addresses from the collection. 

Each TIdEmailAddressItem in the Items for the collection will result in a single line being added to AStrings that contains the value of the Text property for each email address collection item. 

FillTStrings does NOT clear the contents of the string list in AStrings before adding values from the collection. 

Use SortByDomain to pre-sort collection items by their Domain property values. 

Use GetDomains to gather a unique list of Domain values found in the Items for the collection. 

Use AddressesByDomain to gather a list of collection items that match a specified Domain value.

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.