Message Property

Gets and sets the current message headers and text.

Syntax

object.Message [= value]

The Message property syntax has the following parts:

Part Description
object An object expression that evaluates to an InternetMail object.
value A string which specifies the complete message.

Remarks

The Message property returns the current message, including the headers and all message parts, as a string. Setting this property will cause the current message to be cleared and replaced by the new value. The string contents must follow the standard specifications for a message. If the property is set to an empty string, the current message is cleared.

Note that setting the Message property will cause the value of the Bcc property to be reset to an empty string.

Data Type

String


Copyright © 2008 Catalyst Development Corporation. All rights reserved.