Skip to main content

3.1. Mapping from X.400 to RFC-822

This section replaces the text in RFC-1327 starting at the bottom of page 84,

The IPMS.Body is mapped into the RFC-822 message body.  Each
IPMS.BodyPart is converted to ASCII as follows:

and continuing up to and including page 86 of Section 5.3.4 of RFC-1327.

If the IPMS.Body
Body ::=
SEQUENCE OF
BodyPart

consists of a single body part, then the RFC-822 message body is constructed as the MIME content corresponding to that body part.

If the body part is an IPMS.MessageBodyPart (forwarded IPM), the mapping is applied recursively. Otherwise, to map a specific MHS body part to a MIME content-type, the IANA MHS/MIME Equivalence table is consulted. If the MHS body part is not identified in this table, then the body-part is mapped onto an "application/x400-bp" content, as specified in [4].

If the IPMS.Body consists of more than one body part, then the RFC-822 message body is constructed as a

multipart/mixed

content-type, unless all of the body parts are messages, in which case it is mapped to a

multipart/digest

content-type. Each component of the multipart content-type corresponds to a IPMS.BodyPart, preserving the ordering of the body parts in the IPMS.Body.

There is one case which gets special treatement. If the IPMS.Body consists solely of a single IA5Text body part, then the RFC822 message body is NOT marked as a MIME content. This prevents RFC822 mailers from invoking MIME function unnecessarily.