Internet Direct (Indy)
Home
PreviousUpNext
TIdEMailAddressList.Add Method

Creates and returns a new Email Address item.

Pascal
function Add: TIdEMailAddressItem;

TIdEMailAddressItem - Email address added to the collection.

Add is a TIdEMailAddressItem function used to create and return a new email address instance which is added to the TIdEMailAddressList collection. 

Add calls the inherited Add method, and ensures that the return value is cast to a TIdEMailAddressItem object instance. 

Use AddItems to append a an existing collection of email addresses to the current collection. 

Use methods in the ancestor class to maintain Items in the collection, like Delete, Clear, or Destroy.

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.