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

After creating a new attachment with a call to the RopCreateAttachmentROP ([MS-OXCROPS] section, the client sends a RopSaveChangesAttachmentROP request ([MS-OXCROPS] section 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 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 to set the afEmbeddedMessage flag on the PidTagAttachMethod property (section Finally the client sends a RopOpenEmbeddedMessage ROP ([MS-OXCROPS] section on the attachment to get a Message objecthandle.

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

© 2015 Microsoft