Skip to main content

What is SMTP ?

 SMTP 
-SMTP stands for simple mail transfer   protocol.
-SMTP is an application layer protocol.
-The transfer protocol of SMTP is TCP(Transmission control protocol)    because TCP is a reliable and connection Oriented protocol.TCP gurantees e-mail delivery .
-It uses TCP port 25.
-A few webmail services like G-mail use   unofficial port 465 for SMTP.
-SMTP requires each message in 7-bit   ASCII(American Standard Code for   Information Interchange ) format.


-SMTP is used by the client to send mail to servers because SMTP is a push protocol.It is used to send mail from sender to senders mail server and it is also used to send mail to receivers mail server from senders mail server .
- Recepient download the mail from the mail server using POP3 or, IMAP .They can also just view the mail on the server by using webmail.
Some SMTP commands: 
•HELO and EHLO:-Command that initiate a new protocol session  between client and Server.The EHLO command request them to respond with any optional SMTP extension it support.
•MAIL FROM:- Identify sender.
•RCPT To:- To identify intended recipient .
•DATA:-send actual data.
•QUIT:-Terminates the conversation with   the server.


Comments

Popular posts from this blog

Difference between Hub and Switch

Hub is a networking device which operates on physical layer of the OSI(open system interconnection) model whereas switch is also a networking device but it operates on data link layer of the OSI model .Hub is purely hardware  but switch is a device which is the combination of both software and hardware.Hub supports broadcast transmission whereas switch supports Unicast, multicast and broardcast transmission .Hub is having single collision domain whereas Every port of Switch is separate collision domain.Transmission mode of hub is half-duplex whereas transmission mode of switch is full-duplex.Hub can do only forwarding whereas Switch can be able to do both forwarding and filtering.Hub can't store MAC (media access control) address where as switch stores MAC address.

What is POP3 and IMAP ? Difference between POP3 and IMAP.

POP3:- -POP3 stands for post office protocol   version 3. -It is a simple protocol with limited   functionality which is used for opening   remote e-mail boxes. -It is a pull protocol. -It is an application layer protocol. -A POP3 sever stores message for each   user until the user logs in using e-mail   client and downloads the message to   their  computer.Once the the message is   downloaded ,it(message) is deleted from   the server. -In POP3,you can access mail from a   single device.once you have downloaded   the mail to your desktop after it you can't   download the same message to your   laptop because the mail had deleted after   first download. -The transfer protocol of POP3 is   TCP(Transmission control protocol).Post   office protocol version 3 uses TCP for   communication and It uses T...

Differences between TCP and UDP

TCP vs. UDP  -TCP stands for transmission control   protocol whereas UDP stands for user   datagram protocol. -Tcp is a reliable and connection-oriented   Transport protocol whereas UDP is a less   reliable and connection-less protocol. -In tcp , Error control is   mandatory.because checksum is used at   the end of the TCP to detect errors   whereas error control is optional in case   of UDP . -TCP is comparatively slower than UDP. -The header size of TCP is 20-60 bytes   whereas header size of UDP is 8 bytes . -TCP doesn't supports broadcasting   whereas UDP supports broadcasting . -TCP is used by SMTP,FTP,HTTP,HTTPs   etc, whereas UDP is used by DHCP,DNS etc .