wodPop3 ActiveX Control - Text Property
      
 

Description

Holds message body text, without headers.


Property type

A String value.  


Syntax

object.Text



The Text Property syntax has these parts:

Part Description
object An expression evaluating to an object of type Pop3Msg.

Remarks

Text property holds actual message content, without any additional data included, such as Headers or divider lines.

If the message has only one part then you will find here whatever sender of the message wrote.

If the message has more than one part (is called 'multipart') then usually you will find here text like this:

This is a multi-part message in MIME format.

This is text made for mail readers not capable of decoding multipart messages. In a case like this, loop through collection of Parts contained in your message, and try to find there text you're really interested in. Usually you will look where

Parts(index).Headers("Content-type")

is "text/plain" or "text/html" because this is what sender actually wrote.

NOTE: this property will return text contents "as is" without any decoding. If text is encoded (usually with Quoted-Printable or Base64) you should use DecodedText property instead.