wodSmtp ActiveX Control - EhloResponse Event
    
 

Description

Fires when remote server sends response to HELO/EHLO command.


Syntax

Private Sub object_EhloResponse(EhloText)



The EhloResponse 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

EhloResponse event is fired when wodSmtp gets response back from EHLO/HELO command. This is convenient time for you to evaluate EhloText response, and determine if you will change any properties in wodSmtp component - such as to change Authentication method, change Security, etc..

This event can be fired twice per connection when SSL/TLS is used - first time before STARTTLS is issued, and second time after successful TLS negotiation.