3.1.4.1.2 Creating the Wrapper Email Message

A wrapper email message (that is, a Message object as specified in [MS-OXCMSG]) for the rights-managed email message is created with an attachment that is formatted as specified in section 2.2.4.5. The PidTagAttachLongFilename property ([MS-OXCMSG] section 2.2.2.11) of the attachment is set to "message.rpmsg" and the PidTagAttachMimeTag property ([MS-OXCMSG] section 2.2.2.29) of the attachment is set to "application/x-microsoft-rpmsg-message". The message.rpmsg attachment SHOULD be the only attachment created on the wrapper email message. If multiple attachments are created on the wrapper email message, the message.rpmsg attachment MUST be the first attachment and all subsequent attachments will be ignored when the client opens a rights-managed email message, as specified in section 3.1.4.2. The PidNameContentClass property ([MS-OXCMSG] section 2.2.1.48) of the wrapper message is set to "rpmsg.message".