Keep DATA dots and line limits
038BITMIME retains SMTP line structure and dot transparency. It is not unrestricted binary transport.
998 content octets plus CRLF fit the ordinary 1000-octet line boundary.8bit MIME is still line-oriented: NUL and unpaired CR/LF are not permitted; arbitrary binary needs another transport mechanism.
Source for this drawing: RFC 6152 · Read RFC section 3 ↗
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.
The 8-bit extension retains ordinary SMTP transparency: quote a leading content dot, remove that extra dot on receipt, and end DATA with a dot-only line.
Read the updated RFC section ↗High-bit support does not change DATA framing.
- RFC 2045 8bit data uses at most 998 octets between CRLF pairs, with no NUL octets; CR and LF occur only as paired line separators.
- SMTP transparency doubles a line-leading dot. The receiver removes the added dot; a dot-only wire line terminates DATA. The content’s CRLF immediately before that terminator is retained.
- RFC 6152 does not remove server line restrictions: a server can allow as few as 1000 octets including CRLF. RFC 5321 excludes an added transparency dot from that limit.
The displayed body fragment café[CRLF].[CRLF] has 10 content octets. One added quoting dot and a three-octet terminating dot line make 14 wire octets. Bracketed labels denote bytes, not literal bracket characters. Rejected erratum 5646 does not reverse the dot-stuffing rule.
Read the RFC section ↗