126.96.36.199 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 188.8.131.52. 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 184.108.40.206) and PidTagDisplayName ([MS-OXCFOLD] section 220.127.116.11.2.5) properties as specified in section 18.104.22.168 and section 22.214.171.124. If the Document object is created in the the Document Libraries folder of the site mailbox, the client MUST set the PidLidPendingStateForSiteMailboxDocument property (section 126.96.36.199) to 1.