:Reset()


Class

     aprSMTP()

 

Syntax

     :Reset( [hSession] ) -> lSuccess

 

Parameters

 

hSession

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

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

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

 

Description

The :Reset() method resets the client state and resynchronizes with the remote host.

This function is typically called after an unexpected error has occurred, or an operation has been canceled.

  

See Also

:BeginMessage(), :Cancel(), :EndMessage(), :IsBlocking()