tags:

views:

74

answers:

1

Greetings! I'm looking for a way to check the number of unread emails on an email account. Any tips?

EDIT: As described in the tags, for C#. As I learned IMAP is the way to go and I confirmed all email accounts I'm going to use have IMAP activated :)

+2  A: 

POP

You can use OpenPOP.net to read emails using POP protocol. The problem with POP is that it does not hold details whether it was unread or not. So I think this will not be of much use to you. You have have your own way of downloading and tagging emails as read or unread.

IMAP

This question in SO has some links for examples using IMAP. IMAP has details about mail status(read/unread).

Please explain more about your requirement.

Shoban
I edited my question. I'll check out the IMAP link and check this as answered if it's the way to go. Thanks for now.
Queops