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 Event
Fires when message is sent.
Syntax
- Basic
object.Done (ByVal ErrorCode, ByVal ErrorText)
The Done(object,ErrorCode,ErrorText) syntax has these parts:
The Done(object,ErrorCode,ErrorText) syntax has these parts:
object | An expression evaluating to an object of type wodSmtp |
ErrorCode | A Long value. Holds error number, if any. |
ErrorText | A String value. Text description of the error, if any. |
Remarks
Done event is fired as a result of async method you called previously, such as SendMessage. Once this event is fired, 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.