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
ToString Method
Returns string expression containing name and value of the header.
Type
StringSyntax
- Basic
object.ToString()
The ToString(object) syntax has these parts:
The ToString(object) syntax has these parts:
object | An expression evaluating to an object of type SmtpHdr |
Remarks
ToString method will return string expression that is combined of header Name, semicolon and header Value, just as it appears in email body. For example, if header Name is 'From' and header value is 'techsupport@weonlydo.com' then ToString would return line like this: From: techsupport@weonlydo.com.Notice that between Name and Value is one semicolon and one space character.