Visual RFC.
ALL RFCs / RFC 1939
Read the RFC ↗
RFC 1939 / MECHANISM GUIDE

List and retrieve messages

02

STAT and LIST describe the maildrop; RETR returns one message.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

DIAGRAM§ 5 ↗
RFC 1939 · § 5EXAMPLE
3 / 3
List and retrieve messagesSTAT and LIST describe the maildrop; RETR returns one message.List and retrieve messagesC: STAT / LIST S: +OKC: RETR 1 S: +OK + message..leading dot → .leading dotsingle-dot line → response ends
03
Decode dot stuffing

A doubled leading dot is restored as content; the standalone dot ends the response.

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
KEY POINT

Replies use +OK or -ERR.

  • Replies use +OK or -ERR.
  • Multiline responses end with a single-dot line.
  • Leading dots in content use byte-stuffing so data cannot impersonate the terminator.
DETAILS

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

Read the RFC section ↗

Diagrams simplify the RFC. Read the linked sections for complete requirements.

Privacy
All chapters in this RFC
  1. POP3 session states
  2. List and retrieve messages
  3. Stable identifiers with UIDL
  4. Deletion and UPDATE
  5. Authentication and transport limits
RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗