Subject Property

Gets and sets the subject of the current message.

Syntax

object.Subject [= value]

The Subject property syntax has the following parts:

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

Remarks

The Subject property returns the subject of the current message. Setting this property updates the Subject header with the specified value. Note that not all messages have subjects, in which case this property will return an empty string.

Data Type

String

See Also

GetHeader Method, SetHeader Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.