Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Get The TCP/IP Guide for your own computer.
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP File and Message Transfer Applications and Protocols (FTP, TFTP, Electronic Mail, USENET, HTTP/WWW, Gopher)
                9  TCP/IP Electronic Mail System: Concepts and Protocols (RFC 822, MIME, SMTP, POP3, IMAP)
                     9  TCP/IP Electronic Mail System Overview and Concepts

Previous Topic/Section
TCP/IP Electronic Mail System Overview and History
Previous Page
Pages in Current Topic/Section
1
Next Page
TCP/IP Electronic Mail Message Communication Model and Device and Protocol Roles
Next Topic/Section

TCP/IP Electronic Mail Communication Overview: Message Composition, Submission, Delivery, Receipt, Processing and Access

TCP/IP electronic mail is implemented as a complete system, with a number of different elements that perform different portions of the complete job of electronic mail communication. These included a standard message format, a specific syntax for recipient addressing, and protocols to both deliver mail and allow access to mailboxes from intermittently-connected TCP/IP clients.

To help set the groundwork for examining these components, I want to provide an overview of the complete end-to-end process of e-mail communication, so you can see how everything works. I will show the basic steps in simplified form, and continue the analogy to the regular mail system for comparison.

E-Mail Communication Process Steps

The modern TCP/IP e-mail communication process consists of the following five basic steps.

1. Mail Composition

A user begins the e-mail journey by creating an electronic mail message. The message contains two sections: the header and the body. The body of the message is the actual information to be communicated; the header contains data that describes the message and controls how it is delivered and processed. The message must be created so that it matches the standard message format for the e-mail system so that it can be processed. It must also specify the e-mail addresses of the intended recipients for the message.

By way of analogy to real mail, the body of the message is like a letter, and the header is like the envelope into which the letter is placed.

2. Mail Submission

As we'll see in greater detail in the next topic, electronic mail is different from many other internetworking applications in that the sender and receiver of a message do not necessarily need to be connected to the network simultaneously, nor even continuously, to use it. The system is designed so that after composing the message, the user decides when to submit it to the electronic mail system so it can be delivered. This is done using the Simple Mail Transfer Protocol (SMTP).

This is analogous to dropping off an envelope at the post office, or to a postal worker picking up an envelope from a mailbox and carrying it to the local post office to insert into the mail delivery stream.

3. Mail Delivery

The electronic mail message is accepted by the sender's local SMTP system for delivery through the mail system to the destination user. Today, this is accomplished by performing a Domain Name System (DNS) lookup of the intended recipient's host system and establishing an SMTP connection to that system. SMTP also supports the ability to specify a sequence of SMTP servers through which a message must be passed to reach a destination. One way or the other, eventually the message arrives at the recipient's local SMTP system

This is like the transportation of the envelope through the postal system's internal “internetwork” of trucks, airplanes and other equipment to the intended recipient's local post office.

4. Mail Receipt and Processing

The local SMTP server accepts the e-mail message and processes it. It places the mail into the intended recipient's mail box, where it waits for the user to retrieve it.

In our physical analogy, this is the step where the recipient's local post office sorts mail coming in from the postal delivery system and puts the mail into individual post office boxes or bins for delivery.

5. Mail Access and Retrieval

The intended recipient periodically checks with its local SMTP server to see if any mail has arrived. If so, the recipient retrieves the mail, opens it and reads its content. This is done using not SMTP but a special mail access protocol or method. To save time, the access protocol and client e-mail software may allow the user to scan the headers of received mail (such as the subject and sender's identity) to decide which mail messages to download.

This is the step where mail is physically picked up at the post office or delivered to the home.

Modifications to the General Communication Process

In some cases not all of these steps are performed. If a user is sending e-mail from a device that is already an SMTP server, then step #2 can be omitted; if the recipient is logged in to a device that is also an SMTP server, step #5 will be skipped, as the user can read mail directly on the server. Thus, in the simplest case all that occurs is composition, delivery and receipt; this occurs when one user of a dial-up UNIX host sends mail to another. In most cases, today, however, all five steps occur.

Key Concept: TCP/IP electronic mail communication normally involves a sequence of five steps, each of which is analogous to a portion of the journey taken by a regular letter through the postal system. First, e-mail is composed (written); second, it is submitted to the e-mail system; third, it is delivered to recipient’s server; fourth, it is received and processed; and finally, fifth, it is accessed and retrieved by its recipient.


Again, this is simplified. I have, for example, omitted the step where the recipient notices that the mail is in fact an advertisement from a spammer for how he can “make money fast”, eliminate debt or lose weight overnight, then mutters under his breath and deletes the message. Hey, I never said there were no disadvantages to electronic mail being fast and nearly free. J


Previous Topic/Section
TCP/IP Electronic Mail System Overview and History
Previous Page
Pages in Current Topic/Section
1
Next Page
TCP/IP Electronic Mail Message Communication Model and Device and Protocol Roles
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.