Creating a Document Object

The client creates a Document object as a Message object with an attachment when the user drags a file from any file folder into either a mail folder of the user's mailbox or the Document Libraries folder of the site mailbox.<2> The file is attached to the Document object. For details about the attachment to a Document object, see section For details about the remote operations (ROPs) involved in creating a Message object and an Attachment object, see [MS-OXCMSG].

The client SHOULD set the PidTagMessageClass ([MS-OXCMSG] section and PidTagDisplayName ([MS-OXCFOLD] section properties as specified in section and section If the Document object is created in the the Document Libraries folder of the site mailbox, the client MUST set the PidLidPendingStateForSiteMailboxDocument property (section to 1.