Converting an Opaque-Signed or Encrypted S/MIME Message in Internet Format into a Message Object

To convert an opaque-signed message or an encrypted message in the Internet e-mail message format into a Message object, perform the following steps:

  1. From the message MIME entity, promote message header fields to Message object properties, as specified in [MS-OXCMAIL] section 2.2.

  2.       Save the raw ASCII string value of the last Content-Type header field, as specified in [RFC2045] section 5, including any parameters of the header, as a Message object named property with GUID = PS_INTERNET_HEADERS ({00020386-0000-0000-C000-000000000046}) and the name "Content-Type".

  3. Promote the message MIME entity as a new Attachment object, as specified in [MS-OXCMAIL] section, for a general conversion case.