Part of our Email to Database process requires that we make a distinction between READ/UNREAD emails.
We are doing something like this
using (Pop3 pop3 = new Pop3())
{
//Connect or ConnectSSL for SSL
mailInfo = EGetMailInfo();
if (!pop3.Connected)
{
pop3.Connect(mailInfo[3], Convert.ToInt32(mailInfo[4]));
pop3.UseBestLogin(mailInfo[5], mailInfo[6]);
}
foreach (string uid in pop3.GetAll())
{
IMail email = new MailBuilder()
.CreateFromEml(pop3.GetMessageByUID(uid));
if (email != null)
if (email.......) // test for read/unread
{
// do something
}
}
}
Can you please assist with the property that identifies READ/UNREAD emails.