Internet Direct (Indy)
|
Populates a list of email addresses matching a given domain.
Parameters |
Description |
AList |
List for email address matching the indicated domain name. |
ADomain |
Host name or mail exchange for email address to add to the list. |
AddressesByDomain is a method used to populate the email address list in AList with Items containing the domain name specified in ADomain.
AddressesByDomain iterates over the Items in the collection, and adds the complete email address (including the persons Name whn present) for any email addresses matching ADomain to the list in AList. AddressesByDomain uses case-insensitive comparisons between the values ADomain and the Domain property for Items in the collection.
Use GetDomains to retrieve a unique list of Domain names found for Items in the collection.
Use SortByDomain to force the list of email addresses in Items to be returned in alphabetic Domain name order.
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. |