Description
-
Called when wodSmtp tries to connect to the server.
Return Type
-
None
Syntax
-
object.Connecting Owner,
Hostname, Port
The Connecting 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. |
| 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
-
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.
Connecting notification method is called when wodSmtp
initiates connection to SMTP server. It can be result of
calling Connect or SendMessage
methods. If connection is successful, Connected
notification method will be called . If connection fails,
Disconnected
notification method will be called.
|