Message anatomy
01Header fields and an optional body are separated by an empty line.
Following content belongs to the message body.
Key idea: The empty line is a structural boundary.
Rules & examples
The empty line is a structural boundary.
- 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
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.
RFC 5322 obsoletes RFC 2822. Appendix B records the format changes; the separation of fields and body remains.
Read the updated RFC section ↗