PR_SUBJECT

The PR_SUBJECT property contains the full subject of a message.

Quick Info

Header file: MAPITAGS.H
May be exposed by: Message objects
Identifier: 0x0037
Property type: PT_TSTRING
Property tag: 0x0037001E (0x0037001F for Unicode)
Corresponding X.400 attribute: IM_SUBJECT

Remarks

The PR_SUBJECT property is recommended on all message objects.

This property is always the full subject text, that is, the concatenation of the prefix and the normalized subject. If there is no prefix, the normalized subject should be the same as the subject. A message store or transport provider uses both the PR_SUBJECT and PR_SUBJECT_PREFIX properties to compute the normalized subject using the rule described under PR_NORMALIZED_SUBJECT.

The subject properties are typically small strings of fewer than 256 characters, and a message store provider is not obligated to support the OLE IStream interface on them. The client should always attempt access through the IMAPIProp interface first, and resort to IStream only if MAPI_E_NOT_ENOUGH_MEMORY is returned.

For a report, PR_SUBJECT contains the original message's subject preceded by a string indicating what has happened to the message.

See Also

Subject Properties