Platform SDK: MAPI

PR_HASATTACH

The PR_HASATTACH property contains TRUE if a message contains at least one attachment.

Quick Info

Header file: MAPITAGS.H
Must be exposed by: Message objects
Identifier: 0x0E1B
Property type: PT_BOOLEAN
Property tag: 0x0E1B000B

Remarks

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.

The value of PR_HASATTACH is updated with the IMAPIProp::SaveChanges method.

See Also

Attachment Properties