POP3 client in C#.

A

Ajeet YS

Hello,

Well, I don't know if this is the right forum to post this query, but I
didn't find any other suitable one.

I am developing a program to access mails from a pop3 server's mailbox.
For this I am using System.Net.Sockets namespace. I am able to get all the
messages from the server & read them. Upon reading each mail DELE command is
executed, so that in the next session the same mail is not processed again.

Now the problem. POP3 does not allow you to determine whether the mail
you have on the server is new(unread) or not. This feature is present in MS
Outlook Express, which downloads only the new mails & leaves a copy on the
server mailbox. How can I implement this in my code? Download only the new
mails. I have checked many available C# pop3 access codes, but no where I
found the logic or mechanism to implement this. It should also be very
quick.

Any help regarding this would be very helpful.

thanks,
ajeet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top