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
ProxyHostname Property
Hostname of remote proxy.
Type
StringSyntax
- Basic
object.ProxyHostname [= value]
The ProxyHostname(object,value) syntax has these parts:
The ProxyHostname(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSmtp |
value | A String value. |
Remarks
When the wodSmtp client is unable to establish a direct connection (for example, if it is not connected directly to the internet), the proxy option can be used. There are several types of proxies supported by the wodSmtp control. When any proxy is used, this property specifies the hostname for the remote proxy. Be careful not to confuse this property with the Hostname property, which is entirely different.When a connection to a proxy is established, wodSmtp will issue a request to the proxy to open a remote connection to the hostname specified by the ProxyHostname property. For example,
wodSmtp1.ProxyType = ProxyWEBStandard
wodSmtp1.ProxyHostname = "proxy.server.com"
wodSmtp1.ProxyPort = 80
wodSmtp1.Connect "www.weonlydo.com"
wodSmtp1.ProxyHostname = "proxy.server.com"
wodSmtp1.ProxyPort = 80
wodSmtp1.Connect "www.weonlydo.com"
would connect to WeOnlyDo's WEB server, but through the proxy 'proxy.server.com'.