MessageFormat Property (CDONTS Message Object)

The MessageFormat property sets the encoding format of the message. Write-only.

Syntax

objMessage.MessageFormat 
 

Data Type

Long

Remarks

The MessageFormat property determines how a message is encoded. The following values are defined:

MessageFormat setting Value Description
CdoMime 0 The message is in MIME format.
CdoText 1 The message is in uninterrupted plain text.

The MessageFormat property is not used on incoming messages in the Inbox.

You should set MessageFormat to CdoMime if you are running with the Microsoft® Exchange Server and plan to attach embedded messages to this message. This allows the greatest flexibility in opening and reading such an attachment.

The MessageFormat property defaults to the current setting of the MessageFormat property of the Session object.