:GetResultString()


Class

     aprSMTP()

 

Syntax

     :GetResultString( [hSession] ) --> cResult

 

Parameters

     hSession (optional)

           If hSession is not passed, the value in :Session

 

Return

Returns the Result String of the last operation.

 

Description

The Method is most useful when an error occurs because the remote server will typically include a brief description of the the cause of the error. This can then be parsed by the application or displayed to the user. The result string is updated each time the client sends a command to the remote host and then calls :GetResultCode() Method to obtain the result code for the operation.

 

See Also

:GetResultCode()