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

Message anatomy

01

Header fields and an optional body are separated by an empty line.

RFC 5322 · § 2.1EXAMPLE
3 / 3
03
Read the body.

Following content belongs to the message body.

Message anatomyHeader fields and an optional body are separated by an empty line.A message has two different partsDate: Fri, 1 Jan 2027 12:00:00 +0000From: Ana <ana@example.org>To: Bo <bo@example.net>Subject: A short noteempty CRLF lineHello Bo,The body starts here.Format describes the letter; SMTP delivers it.

Key idea: The empty line is a structural boundary.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Header fields describe the message; the body follows a blank CRLF line.
  • SMTP delivery is specified separately in RFC 5321.

MIME and internationalized fields extend this base format.

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.

What changed
RFC 2822RFC 5322

RFC 5322 obsoletes RFC 2822. Appendix B records the format changes; the separation of fields and body remains.

Read the updated RFC section ↗

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 ↗