Simple Mail Transfer Protocol (RFC2821)
Original Publication Date: 2001-Apr-01
Included in the Prior Art Database: 2019-Feb-13
Internet Society Requests For Comment (RFCs)
This document is a self-contained specification of the basic protocol for the Internet electronic mail transport. [STANDARDS-TRACK]
Network Working Group J. Klensin, Editor Request for Comments: 2821 AT&T Laboratories Obsoletes: 821, 974, 1869 April 2001 Updates: 1123 Category: Standards Track
Simple Mail Transfer Protocol
Status of this Memo
This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.
Copyright (C) The Internet Society (2001). All Rights Reserved.
This document is a self-contained specification of the basic protocol for the Internet electronic mail transport. It consolidates, updates and clarifies, but doesn’t add new or change existing functionality of the following:
- the original SMTP (Simple Mail Transfer Protocol) specification of RFC 821 ,
- domain name system requirements and implications for mail transport from RFC 1035  and RFC 974 ,
- the clarifications and applicability statements in RFC 1123 , and
- material drawn from the SMTP Extension mechanisms .
It obsoletes RFC 821, RFC 974, and updates RFC 1123 (replaces the mail transport materials of RFC 1123). However, RFC 821 specifies some features that were not in significant use in the Internet by the mid-1990s and (in appendices) some additional transport models. Those sections are omitted here in the interest of clarity and brevity; readers needing them should refer to RFC 821.
Klensin Standards Track [Page 1]
RFC 2821 Simple Mail Transfer Protocol April 2001
It also includes some additional material from RFC 1123 that required amplification. This material has been identified in multiple ways, mostly by tracking flaming on various lists and newsgroups and problems of unusual readings or interpretations that have appeared as the SMTP extensions have been deployed. Where this specification moves beyond consolidation and actually differs from earlier documents, it supersedes them technically as well as textually.
Although SMTP was designed as a mail transport and delivery protocol, this specification also contains information that is important to its use as a ’mail submission’ protocol, as recommended for POP [3, 26] and IMAP . Additional submission issues are discussed in RFC 2476 .
Section 2.3 provides definitions of terms specific to this document. Except when the historical terminology is necessary for clarity, this document uses the current ’client’ and ’server’ terminology to identify the sending and receiving SMTP processes, respectively.
A companion document  discusses message headers, message bodies and formats and structures for them, and their relationship.
Table of Contents
1. Introduction .................................................. 4 2. The SMTP Model ................................................ 5 2.1 Basic Structure ..................................