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
Parts Property
References collection of parts for the message.
Syntax
- Basic
object.Parts [= value]
The Parts(object,value) syntax has these parts:
The Parts(object,value) syntax has these parts:
object | An expression evaluating to an object of type SmtpMsg |
value | A value. |
Remarks
When message is declared as multipart (declared usign appropriate headers), that means it contains one or more parts that are 'separated' from the text of the message. For example, some mail clients will send formatted messages so that they send plaintext as regular message text, and formatted as separate part.You will notice that message has parts when text is something like This is a multi-part message in MIME format. which means that actual message is stored in one of message parts. So, to locate text you are looking for, instead of looking at Message.Text try Message.Parts(0).Text Message.Parts(1).Text or similar - depending how many parts are in the message.
You can get total number of parts using Count property.