Description: | Returns the name of a specific validated recipient after a call to InitCheckRecipients(). This function would typically be called prior to sending mail in order to establish the validity of a recipient. |
Syntax: | Object.GetCheckedRecipientAddress( iIndex ) |
Parameters: | |
object | Required, the Session object |
iIndex | An index specifying which address, of several recipients should be returned to the caller. |
Remarks: | This function returns the retrieved recipient's address. This function, in conjunction with GetCheckedRecipientName() is intended as a replacement for GetCheckedRecipient() for languages such as VBScript which are not capable of passing strings by reference. |
Returns: | The number of recipients that matched the passed in search name. |
Example: |
Set session = CreateObject("OfficeTalk.Session")
Set user = session.Logon(login name, password)
iCount = session.InitCheckRecipients("smith")
sName = GetCheckedRecipientAddress(0)