<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mohammad Aman Mirza on Medium]]></title>
        <description><![CDATA[Stories by Mohammad Aman Mirza on Medium]]></description>
        <link>https://medium.com/@mohdamanmirza?source=rss-e30b6ef1195------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-4Xly8tdiAd2F5zdoxjm9Q.jpeg</url>
            <title>Stories by Mohammad Aman Mirza on Medium</title>
            <link>https://medium.com/@mohdamanmirza?source=rss-e30b6ef1195------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:30:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mohdamanmirza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SIMPLE MAIL TRANSFER PROTOCOL]]></title>
            <link>https://medium.com/team-rover/simple-mail-transfer-protocol-f55df5e2aebd?source=rss-e30b6ef1195------2</link>
            <guid isPermaLink="false">https://medium.com/p/f55df5e2aebd</guid>
            <category><![CDATA[smtp]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[email]]></category>
            <dc:creator><![CDATA[Mohammad Aman Mirza]]></dc:creator>
            <pubDate>Mon, 17 Aug 2020 04:56:23 GMT</pubDate>
            <atom:updated>2020-08-17T04:56:23.745Z</atom:updated>
            <content:encoded><![CDATA[<p>INTRODUCTION</p><p>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. It is a connection-oriented protocol. SMTP is a text-based protocol.</p><p>WORKING PRINCIPLE:</p><p>Simple Mail Transfer Protocol ( SMTP) builds on the delivery of end-to-end messages. To send the mail, a SMTP client contacts the SMTP server of the destination host on well-known port 25. The system then waits for a 220 READY FOR MAIL message to be submitted to the file. Once the 220 message has been received, the client will send a HELO command. The server then replies with a message “250 Requested Mail Action OK.”</p><p>After that, the mail transaction will begin with an MAIL order that gives the identity of the sender as well as a FROM: field containing the address to which errors are registered.</p><p>After a successful MAIL command, the sender will initiate a series of RCPT commands that identify receivers of the mail message. The recipient will then acknowledge each RCPT command by sending 250 OK or by sending the error message 550 No such user here.</p><p>After acknowledgment of all RCPT commands, the sender issues DATA command to let the receiver know that the sender is ready to send a complete email message. The receiver responds with a message 354 Start mail command with an ending sequence that should be used by the sender to terminate the message. The sequence of termination consists of five characters: carriage return, line feed, period, carriage return, and line feed(&lt;CRLF&gt;.&lt;CRLF&gt;).</p><p>Now the client sends the data line by line, starting with the series of 5 characters. File, in which the recipient accepts a 250 OK, or an error message if something goes wrong.</p><p>After the sending has been completed, the client can follow them up with any of the following actions.</p><p>Terminate Session: If the current client of SMTP no longer has messages to deliver, the link may be closed with a QUIT order, which will be replied with a response from the 221 Service closing channel.</p><p>Exchange Roles: If the present SMTP client no longer has messages to send, but is prepared to receive any messages from the current SMTP server, the TURN command may be issued. Now both the SMTP client and the SMTP server will switch their sender/receiver role, and by issuing an MAIL command, the sender (previous receiver) can now send the message.</p><p>Send Another Mail: If the client (sender) for SMTP has another message to send, it may issue a new MAIL command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/0*4mFn25zDYMO0z9LR.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*PdeQTp9IXevSUZboS0wfUw.png" /></figure><p>REAL LIFE APPLICATION:</p><p>E-mail is today one of the most common online services. Most e-mail systems that send mail on the Internet use SMTP protocol to send messages from one server to another. The mail delivery is a two-stage process that provides for mail instances when the network connection or the remote machine has failed. For example, when a user does not have a permanent Internet connection, it should have a mailbox on a computer that does have such a connection. That computer must run the SMTP server and be able to always receive incoming mail. The mail messages can then be retrieved by the user from the mailbox with an e-mail client (installed on the user’s machine) using either POP or IMAP.</p><p>CONCLUSION</p><p>SMTP is a TCP / IP protocol suite application protocol that allows e-mail support over the Internet. Mail is sent between a client and a server through a series of request-response transactions. The transactions pass the message and the envelope (SMTP source and destination addresses), which is composed of header and body. The header contains two parts of the mail address: a local address (also known as a “user mailbox”) and a domain name. User-agent and a mail transfer agent are needed for both the SMTP client and SMTP server. The MTA feature transmits the mail over the Internet. SMTP uses the command — response process to pass messages in three stages between an MTA client and an MTA server: link creation, mail transfer, and termination of connections.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f55df5e2aebd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/team-rover/simple-mail-transfer-protocol-f55df5e2aebd">SIMPLE MAIL TRANSFER PROTOCOL</a> was originally published in <a href="https://medium.com/team-rover">Team RoverX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>