Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodSmtp
- Methods
- Properties
- Authentication
- Blocking
- Certificate
- CharSet
- DNSHostname
- Hostname
- LastError
- LastErrorText
- Login
- MailFrom
- MailTo
- Message
- MyHostname
- MyIP
- Notification
- Password
- Port
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RequestReceipt
- RetryCount
- RetryWait
- Security
- State
- StateText
- Tag
- Timeout
- Transcript
- UseIPv6
- Version
- Events
- IwodSmtpClientNotify
- SmtpEncoder
- SmtpHdr
- SmtpHdrs
- SmtpMsg
- SmtpMsgs
- wodSmtp
- How to get support?
- Technical information
- Fast notifications interface
- Error list
EhloResponse Method
Called when remote server sends response to HELO/EHLO command.
Syntax
- Basic
object.EhloResponse (Owner, EhloText)
The EhloResponse(object,Owner,EhloText) syntax has these parts:
The EhloResponse(object,Owner,EhloText) syntax has these parts:
object | An expression evaluating to an object of type IwodSmtpClientNotify |
Owner | wodSmtp object. Reference to wodSmtpCom instance that called this callback method. |
EhloText | 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.EhloResponse notification method is called 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 notification method can be called twice per connection when SSL/TLS is used - first time before STARTTLS is issued, and second time after successful TLS negotiation.