2.2.3.3.2.2 Creating an Aggregate Body

Aggregate bodies SHOULD<143> only be created when one of the following values appears as a substring in the MIME-Version, the X-User-Agent, or the X-Mailer header values: "apple", "ipad", or "ipod". The aggregate body is in HTML format and is constructed by parsing the child MIME entities of a "multipart/mixed" MIME entity. MIME readers use the following procedure to process each child MIME entity.

  1. If the Content-Type header value is "text/html" or "text/plain", then the contents are appended to the aggregate body.

  2. If the Content-Type header value is one of the values specified in section 2.2.3.4.1.4.1, then the MIME entity is treated as an inline attachment. The value of the Content-Id header is copied to the PidTagAttachContentId property ([MS-OXCMSG] section 2.2.2.29) for this attachment. If there is no Content-Id header, then the MIME reader SHOULD generate a value for the PidTagAttachContentId  property. An <img> HTML element using the value of the PidTagAttachContentId property, as specified in [HTML], is appended to the aggregate body.

  3. If the Content-Type header value is anything else, then the MIME entity is treated as a normal attachment.

Show: