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
Done Method
Called when message is sent.
Syntax
- Basic
object.Done (Owner, ErrorCode, ErrorText)
The Done(object,Owner,ErrorCode,ErrorText) syntax has these parts:
The Done(object,Owner,ErrorCode,ErrorText) 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. |
ErrorCode | A Long value. Holds error number, if any. |
ErrorText | A String value. Text description of the error, if any. |
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.Done notification method is called as a result of async method you called previously, such as SendMessage. Once this notification method is called, you're free to execute next method, or close the connection. It means that message is delivered to the server.
If error occurred during delivery process, ErrorCode and ErrorText arguments will contains description of the error.