LazyMAPI

MAPI Properties

MAPI Property: PR_HASATTACH
Description: Contains TRUE if a message contains at least one attachment.
Property ID: $0E1B
Property type: PT_BOOLEAN
Area: Message attachment

Remarks:
The message store copies this property from the MSGFLAG_HASATTACH flag of the PR_MESSAGE_FLAGS (PidTagMessageFlags) property. A client application can then use PR_HASATTACH to sort on message attachments in a message viewer.
The value this property is updated with the IMAPIProp::SaveChanges method.