Visual RFC.
ALL RFCs / RFC 5322
Read the RFC ↗
RFC 5322 / EMAIL MESSAGE FORMAT

Message IDs and reply threads

05

Each new message has its own ID; reply fields describe relationships to earlier messages.

RFC 5322 · § 3.6.4EXAMPLE
3 / 3
03
Extend the chain.

References retains the ancestry described by the RFC.

Message IDs and reply threadsEach new message has its own ID; reply fields describe relationships to earlier messages.New message, new ID; replies retain ancestryOriginal AID: a@examplereplyReply BID: b@exampleB In-Reply-To: a@exampleReply CID: c@exampleC References: A, BSchematic example identifiers · subject text is not the ID.

Key idea: A reply gets a new identifier.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Message-ID should be present and must be globally unique when used.
  • In-Reply-To names parents; References describes the reference chain.

A matching subject is not a unique thread identifier, and IDs do not authenticate senders.

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

The envelope and the letter do different jobs.

Mail transport moves a message between servers. The message format describes its contents. Authentication adds checks; it does not make every message safe.

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.

All chapters in RFC 5322

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 ↗