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
Connecting Method
Called when wodSmtp tries to connect to the server.
Syntax
- Basic
object.Connecting (Owner, Hostname, Port)
The Connecting(object,Owner,Hostname,Port) syntax has these parts:
The Connecting(object,Owner,Hostname,Port) 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. |
Hostname | A String value. Holds hostname where wodSmtp tries to connect. |
Port | A Long value. Holds port on the server where wodSmtp tries to connect. |
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.Connecting notification method is called when wodSmtp initiates connection to SMTP server. It can be result of calling Connect or SendMessage methods. If connection is successful, Connected notification method will be called . If connection fails, Disconnected notification method will be called.