Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
3.1.5.11 Sending a RopCreateAttachment ROP Request

3.1.5.11 Sending a RopCreateAttachment ROP Request

After creating a new attachment with a call to the RopCreateAttachmentROP ([MS-OXCROPS] section 2.2.6.13), the client sends a RopSaveChangesAttachmentROP request ([MS-OXCROPS] section 2.2.6.15) to commit the new Attachment object and uses the newly created Attachment object in subsequent ROPs. The client eventually sends a RopRelease ROP request ([MS-OXCROPS] section 2.2.15.3) on the Attachment object and, after doing so, MUST NOT use the Attachment object for any subsequent ROPs.

To create an Embedded Message object, the client uses the RopSetProperties ROP ([MS-OXCROPS] section 2.2.8.6) to set the afEmbeddedMessage flag on the PidTagAttachMethod property (section 2.2.2.9). Finally the client sends a RopOpenEmbeddedMessage ROP ([MS-OXCROPS] section 2.2.6.16) on the attachment to get a Message objecthandle.

The client sends a RopSaveChangesMessage ROP request ([MS-OXCROPS] section 2.2.6.3) to commit the Attachment object change to the Message object.

Show:
© 2015 Microsoft