Visual RFC.
ALL RFCs / RFC 2387
Read the RFC ↗
RFC 2387 / COMPOUND MIME OBJECTS

Treat related parts as one object

01

A compound object needs its related parts to be interpreted together. MIME means Multipurpose Internet Mail Extensions: a format for labeling message content.

RFC 2387 · § 3EXAMPLE
4 / 4
Treat related parts as one objectThe HTML application combines the selected root with its resource. Showing the two parts independently would not reproduce this example’s intended presentation.Treat related parts as one objectContent-Type: multipart/related;boundary=picnic; type="text/html"HTML documenttext/htmlroot partIncluded photoimage/pngrelated partcid:photo@picnic.exampleReference → included body partComposed invitationPicnic!HTML + imageCompound packaging is separate from CID URL syntax
04
Process the compound object

The HTML application combines the selected root with its resource. Showing the two parts independently would not reproduce this example’s intended presentation.

Source for this drawing: RFC 2387 · Read RFC section 3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Multipart/Related describes an aggregate of interdependent body parts, not just a list of unrelated attachments. Like other multipart bodies, it also needs a boundary parameter and matching delimiter lines under RFC 2046.

  • Multipart/Related describes an aggregate of interdependent body parts, not just a list of unrelated attachments. Like other multipart bodies, it also needs a boundary parameter and matching delimiter lines under RFC 2046.
  • The root is the part the application processes first. Other parts can supply resources used by that root.
  • Links between parts belong to the compound format. A cid URL is one possible link mechanism, specified separately in RFC 2392.
DETAILS

Fictional .example identifiers and omitted payloads. These are simplified illustrations, not complete importable messages or a full MIME parser.

Read the RFC section ↗

All chapters in RFC 2387

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗