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
ToEmail Property
Returns Email of the recipient, if found.
Type
StringSyntax
- Basic
object.ToEmail [= value]
The ToEmail(object,value) syntax has these parts:
The ToEmail(object,value) syntax has these parts:
object | An expression evaluating to an object of type SmtpMsg |
value | A String value. |
Remarks
ToEmail property will read sender of the message (through To property), and try to return only email address, without the name.Typically, full recepient header may look like this: "Technical Support" techsupport@weonlydo.com in which case ToEmail would return 'techsupport@weonlydo.com', without any quotes.
To retrieve name, you can use ToName property.