AddressBookResolve()

Returns a list of valid, unambiguous (unique) addresses.

Token ID

AFTKN_AB_RESOLVE or 794

Syntax

ANSISTRING AddressBookResolve(ANSISTRING Addresses; 
                              ENUM RemoveAmbiguousAddresses;
                              ENUM RemoveInvalidAddresses; 
                              [ANSISTRING UserID])

Parameters

Addresses As ANSISTRING

Separate addresses with commas and enclose in double quotation marks.

RemoveAmbiguousAddresses As ENUM

Specifies what to do with ambiguous addresses as follows:

160

Fail!

Causes the command to fail if there are ambiguous addresses.

201

Prompt!

Displays a dialog box where the user selects an address to include.

1

Yes!

Removes all ambiguous addresses.

RemoveInvalidAddresses As ENUM

Specifies what to do with invalid addresses as follows:

160

Fail!

Causes the command to fail if there are invalid addresses.

201

Prompt!

Displays a dialog box where the user removes invalid addresses from the address list.

1

Yes!

Removes all invalid addresses.

UserID As ANSISTRING

(Optional) User ID of the mailbox that contains the Address Book information. Use this information to search in a proxy mailbox.

Return Values

EmailAddress(es) As ANSISTRING

FullAddressText Domain.PostOffice.UserID of valid and unique addresses.