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
StateChange Event
Fires when wodSmtp's state changes.
Syntax
- Basic
object.StateChange (ByVal OldState)
The StateChange(object,OldState) syntax has these parts:
The StateChange(object,OldState) syntax has these parts:
object | An expression evaluating to an object of type wodSmtp |
OldState | A SmtpStates enumeration. Represents previous state. |
Remarks
StateChange event is fired when wodSmtp changes its state, from Disconnected to Connecting, then to LogonInProgress etc.To get current state you can use State property.
To get text description of the state, you can use StateText property. For list of all possible states, click here.