Platform SDK: MAPI

PR_NORMALIZED_SUBJECT

The PR_NORMALIZED_SUBJECT property contains the message subject with any prefix removed.

Quick Info

Header file: MAPITAGS.H
Must be exposed by: Message objects
Identifier: 0x0E1D
Property type: PT_TSTRING
Property tag: 0x0E1D001E (0x0E1D001F for Unicode)
Corresponding X.400 attribute: IM_SUBJECT

Remarks

The PR_NORMALIZED_SUBJECT property is computed by message store or transport providers from the PR_SUBJECT and PR_SUBJECT_PREFIX properties in the following manner.

Note  When PR_SUBJECT_PREFIX is an empty string, PR_SUBJECT and PR_NORMALIZED_SUBJECT are the same.

Ultimately, PR_NORMALIZED_SUBJECT should be the part of PR_SUBJECT following the prefix. If there is no prefix, PR_NORMALIZED_SUBJECT becomes the same as PR_SUBJECT.

PR_SUBJECT_PREFIX and PR_NORMALIZED_SUBJECT should be computed as part of the IMAPIProp::SaveChanges implementation. A client application should not prompt the IMAPIProp::GetProps method for their values until they have been committed by an IMAPIProp::SaveChanges call.

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.

See Also

Subject Properties