Back to product page

EhloResponse Event


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

Syntax

  • Basic
object.EhloResponse (ByVal EhloText)
The EhloResponse(object,EhloText) syntax has these parts:
objectAn expression evaluating to an object of type wodSmtp
EhloTextA 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.

Platforms

Windows