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

Selective FETCH and SEARCH

03

A client can retrieve metadata or a selected body section instead of downloading every complete message.

Related RFCs and changes

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

DIAGRAM§ 6.4 ↗
RFC 9051 · § 6.4EXAMPLE
3 / 3
Selective FETCH and SEARCHA client can retrieve metadata or a selected body section instead of downloading every complete message.Selective FETCH and SEARCHUID SEARCH UNSEENUID FETCH 105 (FLAGS ENVELOPE)UID FETCH 105 BODY.PEEK[1]Retrieve the needed section, not the whole mailbox
03
Fetch a body section

Download only the needed section rather than all messages.

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

FETCH can request specific data items and body sections.

  • FETCH can request specific data items and body sections.
  • SEARCH selects messages by defined criteria.
  • Use UID commands when stable identities are required.
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. Session and mailbox states
  2. UIDs versus sequence numbers
  3. Selective FETCH and SEARCH
  4. Flags and deletion
  5. Unsolicited updates and resync
RFC 9700 / CHAPTERS

Chapters

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

RFC status and corrections ↗