Description
-
Fires when wodSmtp disconnects from the server.
Syntax
-
Private Sub
object_Disconnected(ErrorCode,
ErrorText)
The Disconnected Event syntax has these parts:
| 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
-
Disconnected event is fired when wodSmtp disconnects
from the server, either due to using Disconnect method,
or because server closed the connection. If error occurred,
ErrorCode and ErrorText arguments will provide information
about the error.
Disconnected event can be fired also as a result of
calling Connect and SendMessage
methods - if disconnection occurred because server was
unavailable, authentication failed etc..
|