hello friends,
I wanted to know about the protocol responsible for transferring emails over the network. Someone told me that it's SMTP. Can someone provide me the information on SMTP ?
hello friends,
I wanted to know about the protocol responsible for transferring emails over the network. Someone told me that it's SMTP. Can someone provide me the information on SMTP ?
SMTP means Simple Mail Transfer Protocol - is an Internet standard for electronic mail (e-mail) transmission across Internet Protocol (IP) networks.
While electronic mail server software uses SMTP to send and receive mail messages, user-level client mail applications typically only use SMTP for sending messages to a mail server for relaying. For receiving messages, client applications usually use either the Post Office Protocol (POP) or the Internet Message Access Protocol (IMAP) to access their mail box accounts on a mail server.
SMTP is a relatively simple, text-based protocol, in which one or more recipients of a message are specified (and in most cases verified to exist) along with the message text and possibly other encoded objects.
The message is then transferred to a remote server using a series of queries and responses between the client and server.
Either an end-user's e-mail client, a.k.a. MUA (Mail User Agent), or a relaying server's MTA (Mail Transport Agent) can act as an SMTP client.
An e-mail client knows the outgoing mail SMTP server from its configuration.
A relaying server typically determines which SMTP server to connect to by looking up the MX (Mail eXchange) DNS record for each recipient's domain name.
Conformant MTAs (not all) fall back to a simple A record in the case of no MX (relaying servers can also be configured to use a smart host). The SMTP client initiates a TCP connection to server's port 25 (unless overridden by configuration). It is quite easy to test an SMTP server using the netcat program
SMTP is a "push" protocol that cannot "pull" messages from a remote server on demand.
To retrieve messages only on demand, which is the most common requirement on a single-user computer, a mail client must use POP3 or IMAP.
Another SMTP server can trigger a delivery in SMTP using ETRN. It is possible to receive mail by running an SMTP server. POP3 became popular when single-user computers connected to the Internet only intermittently; SMTP is more suitable for a machine permanently connected to the Internet.
Advanced SMTP includes today's SMTP implementations and the IETF SMTP specifications, including some SMTP extensions.
There are several IETF SMTP specifications:
RFC 821, published in 1982.
RFC 1123, published in 1989. A few corrections to RFC 821.
RFC 1425, published in 1983. Introduced the EHLO verb.
RFC 1651, published in 1994. Replaced RFC 1425.
RFC 1869, published in 1995. Replaced RFC 1651.
RFC 2821, published in 2001, code-named Klensin. Replaced 821/1123/1869.
Bookmarks