:VerifyAddress()


Class

     aprSMTP()

 

Syntax

     :VerifyAddress(cAddress, [hSession] ) -> cExpandedAddress

 

Parameters

 

cAddress

Mail address to verify

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

If successful, returns the expanded address for cAddress.

If an error occurred, an empty string is returned.

 

To get more information about the error, see :nErr and :cErr.

To get the server's response, see :GetResultCode() and :GetResultString().

 

Description

The :VerifyAddress() method verifies the specified address is valid.

 

This method cannot be called while a mail message is being composed.

 

See Also

:AddRecipient(), :ExpandAddress()