Platform SDK: Exchange 2000 Server

Subject Property

[This is preliminary documentation and subject to change.]

The subject of this message.

[Visual Basic]
Property Subject as String
[C++]
HRESULT get_Subject(BSTR* pVal);
HRESULT put_Subject(BSTR Val);
IDL]
HRESULT [propget] Subject([out,retval] BSTR* pVal);
HRESULT [propput] Subject([in] BSTR Val);

Remarks

This property is also available as the urn:schemas:mailheader:subject and urn:schemas:httpmail:subject fields.

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.

See Also

urn:schemas:mailheader:subject

urn:schemas:httpmail:subject