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
HTMLText Property
Holds text/html part of the message.
Type
StringSyntax
- Basic
object.HTMLText [= value]
The HTMLText(object,value) syntax has these parts:
The HTMLText(object,value) syntax has these parts:
object | An expression evaluating to an object of type SmtpMsg |
value | A String value. |
Remarks
HTMLText property will return part of the message that has content-type of text/html. It could be whole message, but also any of its parts. wodSmtp will search through all message parts until it finds text/html part, and return it through this property.In specific occasions, if ContentType is multipart/mixed, wodSmtp will go one level deeper and check if any of parts have ContentType of multipart/alternative - in which case HTML content will be searched among those parts. This is typical message with two parts (plaintext and html) and attachment.
If HTML content is encoded, wodSmtp will decode it before it returns it to you through this property.