TCP/IP Email
Email is one of the most important applications of TCP/IP.
You will not use...
When you write an email, you do not use TCP/IP.
When you write an email, you use an email program, such as Lotus Notes, Microsoft Outlook, or Netscape Communicator, and so on.
The mail program will use...
Your email program uses different TCP/IP protocols:
- Use SMTP to send mail
- Use POP to download mail from the mail server
- Use IMAP to connect to the mail server
SMTP - Simple Mail Transfer Protocol
The SMTP protocol is used to transfer email. SMTP is responsible for sending mail to another computer.
Typically, mail is sent to a mail server (SMTP server), then to another server (or several), and finally to its destination.
SMTP can also carry plain text, but it cannot transfer binary data such as images, sound or movies.
SMTP uses the MIME protocol to send binary data over a TCP/IP network. The MIME protocol converts binary data into plain text.
POP - Post Office Protocol
The POP protocol is used by mail programs to retrieve mail from the mail server.
If your mail program uses POP, once it connects to the mail server all of your mail is downloaded into the mail program (also called the mail client).
IMAP - Internet Message Access Protocol
Like POP, the IMAP protocol is also used by mail programs.
The main difference between IMAP and POP is that if IMAP connects to the mail server, it does not automatically download mail into the mail program.
IMAP gives you the ability to view messages on the mail server before downloading them. With IMAP you can choose to download these messages or simply delete them. For example, if you need to access the mail server from different locations but only want to download mail when you return to the office, IMAP is useful in this situation.