wodSmtp ActiveX Control - Done Event
    
 

Description

Fires when message is sent.


Syntax

Private Sub object_Done(ErrorCode, ErrorText)



The Done Event syntax has these parts:

Part Description
object A wodSmtp object.
ErrorCode A Long value. Holds error number, if any.
ErrorText A String value. Text description of the error, if any.

Remarks

Done event is fired as a result of async method you called previously, such as SendMessage. Once this event is fired, you're free to execute next method, or close the connection. It means that message is delivered to the server.

If error occurred during delivery process, ErrorCode and ErrorText arguments will contains description of the error.