Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I want to make a Hotmail new messages counter just give the number of unread messages of a specific email and password. How it would be done?
Posted
Comments
Ashraff Ali Wahab 23-Sep-12 18:59pm    
There are lot of examples in the below site.Try the code and if you face any issues come back here and post the code and issue
http://www.example-code.com/csharp/email.asp
Boudi AlSayed 24-Sep-12 8:13am    
thank you but can you tell a specific url for an answer of my question cuz i a have a bad english
Ourning 22-Mar-16 9:22am    
Boudi I did a similar thing with this .NET library for emails.
You have to choose which protocol to use, this would typically depend on what email server you have, but in your case you have a major email provider (Microsoft) which provides a support for any protocol.
So you can go with either a C# code for reading emails via POP protocol or a C# code for reading email via IMAP protocol.

Go through below links, it shows how to read unread mails.

Mailsystem - It's open source library used for managing mails from pop3, smtp & Imap protocol. with the help of this library you can find the counter of unread mails.
Reading mails using imap and mailsystem net/

Receiving Mail through the POP3 Protocol & MIME Parser

Updated:

Please go through with this link, it shows how to access mail without using any third party library. you can use hotmail pop server instead of gmail.
how to read mail from pop3 inbox using c#
 
Share this answer
 
v2
Comments
Boudi AlSayed 24-Sep-12 5:51am    
Is there a way to do it without using a library?
Sushil Mate 24-Sep-12 8:48am    
please check the updated link.
Check below link, hope it helps you:
show-amount-of-unread-emails-in-c-sharp[^]
 
Share this answer
 

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