Description
-
Called when message is sent.
Return Type
-
None
Syntax
-
object.Done Owner,
ErrorCode, ErrorText
The Done Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodSmtpClientNotify. |
| Owner |
A wodSmtpCom object. Reference
to wodSmtpCom instance that called this callback
method. |
| ErrorCode |
A Long
value. Holds error number, if any. |
| ErrorText |
A String
value. Text description of the error, if any. |
Remarks
-
NOTE: This method is called only if you
implemented IwodSmtpClientNotify interface in your
application, and wodSmtp1.Notification
property has received reference to
instance of your implementation.
Done notification method is called as a result of async
method you called previously, such as SendMessage. Once
this notification method is called, 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.
|