wodSmtp ActiveX Control - Connected Event
    
 

Description

Fires when wodSmtp connects to the server.


Syntax

Private Sub object_Connected(Capabilities)



The Connected Event syntax has these parts:

Part Description
object A wodSmtp object.
Capabilities A String value. Holds list of SMTP capabilities supported by the server.

Remarks

Connected event is fired 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 sequence as you like, without disconnecting.