Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please, I want POP3 Class and I want to know how to connect to mail and read unread messages.
Posted
Updated 25-Oct-11 2:14am
v2
Comments
PeiWHoward 14-Jul-17 4:53am    
Here is a POP3 client class in C# and you can use it to receive email messages from C#.

However just as an FYI, note that one of the advantages of IMAP over the POP is the use of message flags. With them the email messages could define various message states, such as if a message has been read or not and thus I would suggest you to take a look at this IMAP client class in C# as well.

I put "pop3 class to read e-mail" in the CodeProject article search engine and I came up this this: A Library for downloading Mails from a POP3 Server[^]. One of many articles, by the way.

I also put the same query in Google and came up with numerous hits.

This should get you started.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 25-Oct-11 8:51am    
Have a five! :)
Nueman 25-Oct-11 10:14am    
Thanks!
Please refer to this article here on CP: A POP3 Client in C# .NET[^]. Since the article is a bit old there are some posts that suggest changes to some of the classes. You might find them useful in adapting the source code to more recent .NET framework versions.

Regards,

—MRB
 
Share this answer
 
Comments
Espen Harlinn 25-Oct-11 8:40am    
Nice reply :)
Manfred Rudolf Bihy 25-Oct-11 8:51am    
Thanks!
Please have a look to the following link [^]
 
Share this answer
 
Comments
Manfred Rudolf Bihy 25-Oct-11 8:25am    
The article you referenced is about SMTP and POP3 server. OP is looking for a POP3 client.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900