Skip to main content

E-mail Protocols

E-mail Protocols

Advertisements

E-mail Protocols are set of rules that help the client to properly transmit the information to or from the mail server. Here in this tutorial, we will discuss various protocols such as SMTP, POP, and IMAP.
SMPTP
SMTP stands for Simple Mail Transfer Protocol. It was first proposed in 1982. It is a standard protocol used for sending e-mail efficiently and reliably over the internet.
Key Points:
·        SMTP is application level protocol.
·        SMTP is connection oriented protocol.
·        SMTP is text based protocol.
·        It handles exchange of messages between e-mail servers over TCP/IP network.
·        Apart from transferring e-mail, SMPT also provides notification regarding incoming mail.
·        When you send e-mail, your e-mail client sends it to your e-mail server which further contacts the recipient mail server using SMTP client.
·        These SMTP commands specify the sender’s and receiver’s e-mail address, along with the message to be send.
·        The exchange of commands between servers is carried out without intervention of any user.
·        In case, message cannot be delivered, an error report is sent to the sender which makes SMTP a reliable protocol.
SMTP Commands
The following table describes some of the SMTP commands:
S.N.
Command Description
1
HELLO
This command initiates the SMTP conversation.
2
EHELLO
This is an alternative command to initiate the conversation. ESMTP indicates that the sender server wants to use extended SMTP protocol.
3
MAIL FROM
This indicates the sender’s address.
4
RCPT TO
It identifies the recipient of the mail. In order to deliver similar message to multiple users this command can be repeated multiple times.
5
SIZE
This command let the server know the size of attached message in bytes.
6
DATA
The DATA command signifies that a stream of data will follow. Here stream of data refers to the body of the message.
7
QUIT
This commands is used to terminate the SMTP connection.
8
VERFY
This command is used by the receiving server in order to verify whether the given username is valid or not.
9
EXPN
It is same as VRFY, except it will list all the users name when it used with a distribution list.
IMAP
IMAP stands for Internet Mail Access Protocol. It was first proposed in 1986. There exist five versions of IMAP as follows:
1.   Original IMAP
2.   IMAP2
3.   IMAP3
4.   IMAP2bis
5.   IMAP4
Key Points:
·        IMAP allows the client program to manipulate the e-mail message on the server without downloading them on the local computer.
·        The e-mail is hold and maintained by the remote server.
·        It enables us to take any action such as downloading, delete the mail without reading the mail.It enables us to create, manipulate and delete remote message folders called mail boxes.
·        IMAP enables the users to search the e-mails.
·        It allows concurrent access to multiple mailboxes on multiple mail servers.
IMAP Commands
The following table describes some of the IMAP commands:
S.N.
Command Description
1
IMAP_LOGIN
This command opens the connection.
2
CAPABILITY
This command requests for listing the capabilities that the server supports.
3
NOOP
This command is used as a periodic poll for new messages or message status updates during a period of inactivity.
4
SELECT
This command helps to select a mailbox to access the messages.
5
EXAMINE
It is same as SELECT command except no change to the mailbox is permitted.
6
CREATE
It is used to create mailbox with a specified name.
7
DELETE
It is used to permanently delete a mailbox with a given name.
8
RENAME
It is used to change the name of a mailbox.
9
LOGOUT
This command informs the server that client is done with the session. The server must send BYE untagged response before the OK response and then close the network connection.
POP
POP stands for Post Office Protocol. It is generally used to support a single client. There are several versions of POP but the POP 3 is the current standard.
Key Points
·        POP is an application layer internet standard protocol.
·        Since POP supports offline access to the messages, thus requires less internet usage time.
·        POP does not allow search facility.
·        In order to access the messaged, it is necessary to download them.
·        It allows only one mailbox to be created on server.
·        It is not suitable for accessing non mail data.
·        POP commands are generally abbreviated into codes of three or four letters. Eg. STAT.
POP Commands
The following table describes some of the POP commands:
S.N.
Command Description
1
LOGIN
This command opens the connection.
2
STAT
It is used to display number of messages currently in the mailbox.
3
LIST
It is used to get the summary of messages where each message summary is shown.
4
RETR
This command helps to select a mailbox to access the messages.
5
DELE
It is used to delete a message.
6
RSET
It is used to reset the session to its initial state.
7
QUIT
It is used to log off the session.
Comparison between POP and IMAP
S.N.
POP
IMAP
1
Generally used to support single client.
Designed to handle multiple clients.
2
Messages are accessed offline.
Messages are accessed online although it also supports offline mode.
3
POP does not allow search facility.
It offers ability to search emails.
4
All the messages have to be downloaded.
It allows selective transfer of messages to the client.
5
Only one mailbox can be created on the server.
Multiple mailboxes can be created on the server.
6
Not suitable for accessing non-mail data.
Suitable for accessing non-mail data i.e. attachment.
7
POP commands are generally abbreviated into codes of three or four letters. Eg. STAT.
IMAP commands are not abbreviated, they are full. Eg. STATUS.
8
It requires minimum use of server resources.
Clients are totally dependent on server.
9
Mails once downloaded cannot be accessed from some other location.
Allows mails to be accessed from multiple locations.
10
The e-mails are not downloaded automatically.
Users can view the headings and sender of e-mails and then decide to download.
10
POP requires less internet usage time.
IMAP requires more internet usage time.


Comments

Popular posts from this blog

Education of India Part 2

History [ edit ] Main article:  History of education in South Asia The remnants of the library of  Nalanda , built in the 5th century BCE by  Gupta kings . It was rebuilt twice after invasion, first after an invasion from the  Huns  in the 5th century BCE and then after an invasion from the  Gaudas  in the 7th century CE but abandoned after the third invasion by  Turkic invaders  in the 12th century. Takshasila  (in modern-day Pakistan) was the earliest recorded centre of higher learning in India from possibly 8th century BCE, and it is debatable whether it could be regarded a university or not in modern sense, since teachers living there may not have had official membership of particular colleges, and there did not seem to have existed purpose-built lecture halls and residential quarters in Taxila, in contrast to the later Nalanda university in eastern India.  Nalanda  was the oldest university-system of education in the world in the modern sense of university. There al

Save a Workbook in another File Format

  Save a Workbook in another File Format When you save an Excel 2013 Workbook, by default it saves in the  .xlsx  format. Excel 2013 supports saving in other formats, but whenever you save a workbook in another file format, some of its formatting, data, and features might not be saved. File Formats (File Types) that are supported in Excel 2013 − Excel File Formats Text File Formats Other File Formats Excel File Formats Format Extension Description Excel Workbook .xlsx The default XML-based file format for Excel 2007-2013. Cannot store Microsoft Visual Basic for Applications (VBA) macro code or Microsoft Office Excel 4.0 macro sheets (.xlm). Strict Open XML Spreadsheet .xlsx An ISO strict version of the Excel Workbook file format (.xlsx). Excel Workbook (code) .xlsm The XML-based and macro-enabled file format for Excel 2007-2013. Stores VBA macro code or Excel 4.0 macro sheets (.xlm) Excel Binary Workbook .xlsb The binary file format (BIFF12) for Excel 2007-2013. Template .xltx The defa

Change in Charts Group

  Change in Charts Group The Charts Group on the Ribbon in MS Excel 2013 looks as follows − You can observe that − The subgroups are clubbed together. A new option  ‘Recommended Charts’  is added. Let us create a chart. Follow the steps given below. Step 1  − Select the data for which you want to create a chart. Step 2  − Click on the  Insert Column Chart  icon as shown below. When you click on the  Insert Column chart , types of  2-D Column Charts , and  3-D Column Charts  are displayed. You can also see the option of More  Column Charts . Step 3  − If you are sure of which chart you have to use, you can choose a Chart and proceed. If you find that the one you pick is not working well for your data, the new  Recommended Charts  command on the  Insert  tab helps you to create a chart quickly that is just right for your data. Chart Recommendations Let us see the options available under this heading. (use another word for heading) Step 1  − Select the Data from the worksheet. Step 2  − C