Description
-
Fires when wodSmtp tries to connect to the server.
Syntax
-
Private Sub
object_Connecting(Hostname,
Port)
The Connecting Event syntax has these parts:
| object |
A wodSmtp object. |
| Hostname |
A String value. Holds
hostname where wodSmtp tries to connect. |
| Port |
A Long value. Holds
port on the server where wodSmtp tries to connect. |
Remarks
-
Connecting event is fired when wodSmtp initiates
connection to SMTP server. It can be result of calling
Connect or
SendMessage
methods. If connection is successful, Connected event
will be fired. If connection fails, Disconnected
event will be fired.
This event exists for you to track down on which hosts
is wodSmtp connecting to - since there can be more than one
mail exchanger for recepients domain.
|