SIMPLE MAIL TRANSFER PROTOCOL
home


RFC 2821 Simple Mail Transfer Protocol

SMTP, a process can transfer mail to another process on the same network or to some other network via a relay or gateway process
accessible to both networks.

In this way, a mail message may pass through a number of intermediate relay or gateway hosts on its path from sender to ultimate recipient.
The Mail eXchanger mechanisms of the domain name system (and section 5 of this document) are used to identify the appropriate
next-hop destination for a message being transported.


  The SMTP Model  

Basic Structure

The SMTP design can be pictured as:

               +----------+                +----------+
   +------+    |          |                |          |
   | User |<-->|          |      SMTP      |          |
   +------+    |  Client- |Commands/Replies| Server-  |
   +------+    |   SMTP   |<-------------->|    SMTP  |    +------+
   | File |<-->|          |    and Mail    |          |<-->| File |
   |System|    |          |                |          |    |System|
   +------+    +----------+                +----------+    +------+
                SMTP client                SMTP server

When an SMTP client has a message to transmit, it establishes a two-way transmission channel to an SMTP server. The responsibility of an
SMTP client is to transfer mail messages to one or more SMTP servers, or report its failure to do so.
 
 
 
top