Internet Direct (Indy)
Home
PreviousUpNext
TIdEMailAddressList.SortByDomain Method

Sorts the collection items alphabetically by Domain name.

Pascal
procedure SortByDomain;

SortByDomain is a procedure used to sort the Items in the email address collection alphabetically by the Domain name for the email address collection items. 

After calling SortByDomain, reading Items by their ordinal position returns the collection items in the alphabetically-sorted order. 

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.

Items 

GetDomains 

GetAddressesByDomain

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.