wodSmtp ActiveX Control - Connected Method
      
 

Description

Called when wodSmtp connects to the server.


Return Type

None  


Syntax

object.Connected Owner, Capabilities



The Connected Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSmtpClientNotify.
Owner A wodSmtpCom object. Reference to wodSmtpCom instance that called this callback method.
Capabilities A String value. Holds list of SMTP capabilities supported by the server.

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.

Connected notification method is called when wodSmtp successfully connects to SMTP server. At this point no message is sent, but initial Hello handshake was exchanged, and wodSmtp authenticated with the server if you set Authentication to anything other than AuthNone.

If you called Connect method manually to connect to the server, you can use SendMessage method from this event to send as many messages in a row as you like.