SMTP
Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (e-mail) transmission.
First defined by RFC 821 in 1982, it was last updated in 2008 with the Extended SMTP additions by RFC 5321 -which is the protocol in widespread use today.
SMTP by default uses TCP port 25. The protocol for mail submission is the same, but using port 587,
and SMTP connections secured by SSL, known as SMTPS, default to port 465.
While electronic mail servers and other mail transfer agents use SMTP to send and receive mail messages,
user-level client mail applications typically use SMTP only for sending messages to a mail server for relaying.
For receiving messages, client applications usually use either the POP3 or the IMAP.
POP3/IMAP
Post Office Protocol (POP) is an application-layer Internet standard protocol used by local e-mail clients to retrieve e-mail from a remote server over a TCP/IP connection. POP has been developed through several versions, with version 3 (POP3) being the current standard.
Virtually all modern e-mail clients and servers support POP3, and it along with IMAP (Internet Message Access Protocol) are the two most prevalent Internet standard protocols for e-mail retrieval,with many webmail service providers such as Google Mail, Microsoft Mail and Yahoo!
Mail also providing support for either IMAP or POP3 to allow mail to be downloaded.
IMAP is short for Internet Message Access Protocol, while POP translates to Post Office Protocol. In other words, both are email protocols. They allow you to read emails locally using a third party application. Examples of such applications are Outlook, Thunderbird, Eudora, GNUMail, or (Mac) Mail.
Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic mail (e-mail) transmission.
First defined by RFC 821 in 1982, it was last updated in 2008 with the Extended SMTP additions by RFC 5321 -which is the protocol in widespread use today.
SMTP by default uses TCP port 25. The protocol for mail submission is the same, but using port 587,
and SMTP connections secured by SSL, known as SMTPS, default to port 465.
While electronic mail servers and other mail transfer agents use SMTP to send and receive mail messages,
user-level client mail applications typically use SMTP only for sending messages to a mail server for relaying.
For receiving messages, client applications usually use either the POP3 or the IMAP.
POP3/IMAP
Post Office Protocol (POP) is an application-layer Internet standard protocol used by local e-mail clients to retrieve e-mail from a remote server over a TCP/IP connection. POP has been developed through several versions, with version 3 (POP3) being the current standard.
Virtually all modern e-mail clients and servers support POP3, and it along with IMAP (Internet Message Access Protocol) are the two most prevalent Internet standard protocols for e-mail retrieval,with many webmail service providers such as Google Mail, Microsoft Mail and Yahoo!
Mail also providing support for either IMAP or POP3 to allow mail to be downloaded.
IMAP is short for Internet Message Access Protocol, while POP translates to Post Office Protocol. In other words, both are email protocols. They allow you to read emails locally using a third party application. Examples of such applications are Outlook, Thunderbird, Eudora, GNUMail, or (Mac) Mail.
POP Workflow:
- Connect to server
- Retrieve all mail
- Store locally as new mail
- Delete mail from server*
- Disconnect
*The default behavior of POP is to delete mail from the server. However, most POP clients also provide an option to leave a copy of downloaded mail on the server.
IMAP Workflow:
- Connect to server
- Fetch user requested content and cache it locally, e.g. list of new mail, message summaries, or content of explicitly selected emails
- Process user edits, e.g. marking email as read, deleting email etc.
- Disconnect
As you can see, the IMAP workflow is a little more complex than POP. Essentially, folder structures and emails are stored on the server and only copies are kept locally. Typically, these local copies are stored temporarily. However, you can also store them permanently.
What Are The Advantages Of POP?
Being the original protocol, POP follows the simplistic idea that only one client requires access to mail on the server and that mails are best stored locally. This leads to the following advantages:
Mail stored locally, i.e. always accessible, even without internet connection
Internet connection needed only for sending and receiving mail
Saves server storage space
Option to leave copy of mail on server
Consolidate multiple email accounts and servers into one inbox
What Are The Advantages Of IMAP?
As mentioned in the introduction, IMAP was created to allow remote access to emails stored on a remote server. The idea was to allow multiple clients or users to manage the same inbox. So whether you log in from your home or your work computer, you will always see the same emails and folder structure since they are stored on the server and all changes you make to local copies are immediately synced to the server.
As a result, IMAP has the following advantages:
Mail stored on remote server, i.e. accessible from multiple different locations
Internet connection needed to access mail
Faster overview as only headers are downloaded until content is explicitly requested
Mail is automatically backed up if server is managed properly
Saves local storage space
Option to store mail locally
MIME
Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email to support:
Text in character sets other than ASCII
Non-text attachments
Message bodies with multiple parts
Header information in non-ASCII character sets
Although MIME was designed mainly for SMTP protocol, its use today has grown beyond describing the content of email and now often includes describe content type.
0 comments:
Post a Comment