Platform SDK: CDO for Windows 2000 |
The Subject property specifies the subject of the 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);
This property is also available as the urn:schemas:mailheader:subject and urn:schemas:httpmail:subject fields.
The Subject property is required on newsgroup messages. If you do not set the Subject property before calling the Post method, an error is returned.
The default value of the Subject property is an empty string.