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
SmtpStates Enumeration
This is the list of states that can occur in wodSmtp.
Remarks
When state changes, StateChange event is fired. You can get current state with State property.Possible values for SmtpStates:
Constant | Value | Description |
---|---|---|
Disconnected | 0 | Not connected. |
RelayResolvingMX | 1 | Trying to obtain Mail Exchanger address. |
RelayResolvingA | 2 | Trying to obtain IP address of the server. |
Connecting | 3 | Connecting to the server. |
SendingGreeting | 4 | Sending greeting to the server. |
LogonInProgress | 5 | Sending authentication information. |
Connected | 6 | Connected to the server. |
SendingMailFrom | 7 | Sending MAIL FROM command. |
SendingRcptTo | 8 | Sending RCPT TO command. |
SendingData | 9 | Sending DATA command. |
SendingHeaders | 10 | Sending message headers. |
SendingBody | 11 | Sending message body |
Resetting | 12 | Sending greeting to the server. |
Completed | 13 | Completed sending message. |
Retrying | 14 | Disconnected, will retry again. |
NegotiatingSSL | 15 | Negotiating SSL encryption. |
EstablishedSSL | 16 | Established SSL encryption. |