Solved

what is the difference between the mail protocols

Posted on 2004-08-28
8
186 Views
Last Modified: 2010-03-31
hi,
      i am desiging a mail application which is used to read and send the mails
i come to know that there are three protocols used in the mail transfer
pop3,smtp,imap
what is the difference these protocols have and in implementing a system which is capable of doing it in all the three protocols
0
Comment
Question by:deeppra
  • 6
8 Comments
 
LVL 14

Accepted Solution

by:
sudhakar_koundinya earned 50 total points
ID: 11919712
pop3

Post office protocol which is used to fetch the mails from user's mail box

SMTP

Simple mail Transfer Protocol which is used to send the receive the mails


imap similar to POP3 but it is advanced than POP3

The basic difference between IMAP and POP3
while fetching the mails, POP3 deletes the mails at server account forcely.
whereas IMAP will not do that. There is provision to keep/delete the mails at server account.

But now-a-days even POP3 also I think  has that provision

0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 11919720

for ur more information have a look at these three RFCs (Request for comments)

POP3 -http://www.faqs.org/rfcs/rfc1939.html
SMTP- http://www.faqs.org/rfcs/rfc821.html
IMAP - http://www.faqs.org/rfcs/rfc3501.html
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 11919741
In Simple words

if sudhakar_koundinya@yahoo.com want's to send a message to  deeppra@hotmail.com for example, we need to go for SMTP protcol (Outgoing SMTP)

now if deepra @hotmail.com sends the reply to sudhakar_koundinya@yahoo.com, to store that message in sudhakar_koundiny's mail box, we need to go for SMTP. This is called incoming SMTP service


Now to see what sudhakar_koundinya has send, deepra's mail account should have either POP3 or IMAP protcol. And it is same at sudhakar_koundinya's side also.



 

0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 11919772
And I strongly suggest you to read above three protocol links. They are very easy to understand also.

But u should read these links also available at http://www.faqs.org/rfcs


SMTP RFCs : 821, 2821, 2822, 2920, 3030
POP3 RFCs : 9139 and 1734
IMAP RFCs : 3501, and 3691

and forgot to say

IMAP and POP3 are basically authentication protocols. Means for fetching the mails from user account we need to have correct  user name and password

But it is not compulsory for SMTP. That is the reason we are seeing that much of Spam mails in our accounts ;-)


0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 12251798
thanks :-)
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 12280183
:-)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now