2.2.4.4.1 \11DRMContent Storage

The \11DRMContent storage contains the encrypted email message body and attachments. Before encryption, the \11DRMContent storage has the fields specified in the following table.

Field name

Stream/storage

Description

OutlookBodyStreamInfo

This stream MUST be present in the storage.

This stream contains two consecutive values.

The first value is of type WORD ([MS-DTYP]) and contains the message body format. If the body format is plain text, the value MUST be 0x0001. If the body format is HTML, the value MUST be 0x0002. If the body format is Rich Text Format (RTF), the value MUST be 0x0003.

The second value is of type DWORD ([MS-DTYP]). Its value MUST correspond to the value of the PidTagInternetCodepage property ([MS-OXCMSG] section 2.2.1.58.6), if present; otherwise, it MUST be set to the active code page of the system.

BodyPT-HTML

This stream MUST be present in the storage.

The contents of this stream are based on the body format as specified in the OutlookBodyStreamInfo stream. If the body format is plain text, this stream MUST contain the plain text version of the message body that is present in the PidTagBody property ([MS-OXCMSG] section 2.2.1.58.1), as specified in [MS-OXBBODY] section 1.3.

If the body format is HTML, this stream MUST contain the HTML version of the message body that is present in the PidTagHtml property ([MS-OXCMSG] section 2.2.1.58.9), as specified in [MS-OXBBODY] section 1.3.

If the body format is RTF, this stream MUST contain an HTML version of the RTF message body.

BodyRTF

If the message body format specified in the OutlookBodyStreamInfo this stream is RTF, this stream MUST be present in the storage.

This stream contains the RTF representation of the message body that is present in the PidTagRtfCompressed property ([MS-OXCMSG] section 2.2.1.58.4), as specified in [MS-OXBBODY] section 1.3.

BodyPTAsHTML

If the message body format specified in OutlookBodyStreamInfo is plain text, this stream MUST be present in the storage.

This stream contains an HTML version of a plain text message body. The client MUST ignore this stream on receipt.

RpmsgStorageInfo

This stream MUST be present in the storage.

This stream contains implementation-specific details. It MUST contain the following byte stream:

1F 32 DE 15 02 00 00 00 02 00 00 00 00 00 00 00.

WordMailRightsIndex

This stream SHOULD<3> be present in the storage if the message is a reply to a rights-managed email message; otherwise, it MUST NOT be included.

When replying to a rights-managed email message, the user who is replying cannot copy or print the original message included within/below the reply. To differentiate between this protected and unprotected content in saved email messages, the WordMailRightsIndex stream contains first and last character position pairs that bind content within the message. The first pair represents the beginning and end character positions of the original message. The remaining character pairs represent the bounds of the inline comments in the original message. Multiple pairs exist when inline comments are used. The stream MUST contain a ULONG ([MS-DTYP]) to represent the number of pairs, followed by the character position pairs. Each pair consists of two character positions, each of type ULONG. The values are stored in the little-endian format.

Attachment List

This storage MUST be present if the message has any attachment.

This storage contains the attachment storage collection of the message. For details see section 2.2.4.4.2.