Export (0) Print
Expand All

Subject Property

Exchange Server 2003

Subject Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The subject of the message.

Applies To

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

        [Visual Basic]Property Subject As String
        [C++]HRESULT get_Subject(BSTRpVal);
HRESULT put_Subject(BSTR Val);

Parameters

pVal
Returns the value of the Subject property as a reference to a BSTR.
Val
Sets the value of the Subject property to the value of the BSTR.

Remarks

This property is also available as the urn:schemas:mailheader:subject field (subject Field) and as the urn:schemas:httpmail:subject field (subject Field).

The Subject property is required on news messages. If you do not set it before calling the Post Method, an error is returned.

The default value of Subject is an empty string.

Show:
© 2014 Microsoft