3. Mapping between X.400 and RFC-822 Message Bodies
MHS messages are comprised of an IPMS.heading and an IPMS.body. The IPMS.Body is a sequence of IPMS.BodyParts. An IPMS.BodyPart may be a nested message (IPMS.MessageBodyPart).
A MIME message consists of headers and a content. For the purpose of discussion, the content may be structured (multipart or message), or atomic (otherwise). An element of a structured content may be a message or a content. Both message and structured content have subtypes which do not have direct analogies in MHS.
The mapping between X.400 and RFC-822 message bodies which this document defines is symmetrical for the following cases:
(1) any atomic body part
(2) multipart: digest and mixed subtypes
(3) message/rfc822
RFC-1327 specifies the mappings for headers. Section 4 describes how those mappings are modified by this document. When mapping between
an MHS body and a MIME content, the following algorithm is used: