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
DNSHostname Property
Holds hostname of DNS server.
Type
StringSyntax
- Basic
object.DNSHostname [= value]
The DNSHostname(object,value) syntax has these parts:
The DNSHostname(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSmtp |
value | A String value. |
Remarks
DNSHostname is used important for mail delivery, and is needed only if Hostname property is not set. wodSmtp will try to fill this value during its initialization (it will get information from the registry), but if it fails you need to fill it by yourself.It should point to Nameserver address wodSmtp should use to find default mail exchangers of the recipient. Again - if you set Hostname property, message will be delivered through that hostname and there is no need to set Nameserver, because wodSmtp will never send any DNS requests.
Typically, wodSmtp will try to find "MX" record for the recipient's domain, or possibly "A" record if applicable.