PR_HASATTACH (Compact 7)
3/12/2014
The PR_HASATTACH property contains TRUE if a message contains at least one attachment.
Additional Information
Must be exposed by: |
Message objects |
Identifier: |
0x0E1B |
Property type: |
PT_BOOLEAN |
Property tag: |
0x0E1B000B |
Remarks
The type is PT_BOOLEAN, but this is treated as a PT_LONG. The value is the number of attachments a message has. Zero indicates no attachments.
The message store copies the PR_HASATTACH property from the MSGFLAG_HASATTACH flag of the PR_MESSAGE_FLAGS property. A client application can then use PR_HASATTACH to sort on message attachments in a message viewer.
Requirements
Header |
mapitags.h |
Library |
cemapi.lib |
See Also
Reference
Non-Transmittable Message Properties
Message Settings Properties