Skip to main content

Posts

Showing posts from May 6, 2015

Simple Mail Transfer Protocol (SMTP)

                                           Simple MailTransfer Protocol (SMTP) SMTP is a simple ASCII protocol for transferring mail between hosts in the TCP/IP suite. After establishing the TCP connection to port 25 , the sending machine, operating as the client, waits for the receiving machine, operating as the server, to talk first. The server starts by sending a line of text giving its identity and telling whether it is prepared to receive mail. If it is not, the client releases the connection and tries again later. If the server is willing to accept email, the client announces whom the email is coming from and whom it is going to. If such a recipient exists at the destination, the server gives the client the go-ahead to send the message. Then the client sends the message and the server acknowledges it. No checksums are needed because TCP provides a reliable byte stream. If there is more email, that is now sent. When all the email has been exchanged in both directions, the con