|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
PidTagSubject Canonical Property
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Contains the full subject of a message.
PR_SUBJECT, PR_SUBJECT_A, PR_SUBJECT_W
These properties are recommended on all message objects.
These properties are 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 these properties and PR_SUBJECT_PREFIX (PidTagSubjectPrefix) properties to compute the normalized subject using the rule described under PR_NORMALIZED_SUBJECT (PidTagNormalizedSubject).
The subject properties are typically small strings of fewer than 256 characters, and a message store provider is not obligated to support the 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, this property contains the original message's subject preceded by a string indicating what has happened to the message.