Platform SDK: CDO for Windows 2000 |
Most importantly, MIME is defined to allow for future application-specific enhancements and additions without changing the underlying format structure.
A message body that is formatted in MIME normally contains multiple nodes or parts, which are arranged in a hierarchy. As in any such hierarchy, there are container nodes and leaf nodes. A container node contains other nodes, and leaf nodes do not. In the following discussions, each node in a message body hierarchy is called a body part. The entire hierarchy makes up the sum total of the body of the message according to RFC 822. Container nodes in the hierarchy are called multipart body parts, and leaf nodes are called content body parts. Multipart body parts exist solely to create the hierarchy, and as such, they encapsulate other multipart or content body parts. Multipart body parts do not have content other than other body parts.
The MIME specification defines the core header field Content-Type to indicate the type of the body part. The Content-Type field is made up of a primary and secondary type. Multipart body parts have a primary type of multipart. All others have a defined type other than multipart.