Count message octets, not transport dots
02An octet is one eight-bit byte. SIZE counts the transmitted message headers, blank line, body and CRLF line endings, before SMTP dot quoting.
The grammar allows up to 20 decimal digits. The chosen 99999999999999999999 example must not be rounded through floating-point arithmetic; it is syntax, not a promised acceptable size.
Source for this drawing: RFC 1870 · Read RFC section 5 ↗
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.
Terms in this drawing
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
A message byte count is not a file size or a count of displayed characters.
- Include headers, body and each two-octet CRLF; exclude the terminating dot and added transparency dots.
- MAIL uses one SIZE parameter with 1–20 decimal digits. Its command-line allowance grows by 26 characters; no new verb is added.
- The declared size may be a heuristic estimate. Ideally exact, estimates should usually exceed the actual message size.
This tiny ASCII example is a counting fragment, not a complete RFC 5322 message. MIME-encoded body bytes, not an attachment’s original size, count.
Read the RFC section ↗