Imap - read unseen messages

Jan 9, 2014 at 11:20 AM
Edited Jan 9, 2014 at 11:21 AM
I'm using :

Mailbox inbox = imap.SelectMailbox("inbox");
MessageCollection messages = inbox.SearchParse("UNSEEN");

to get unread messages from server, but after connection all messages as marked "read"

is it possible to leave its as "unread" ?

Is it possible to do same, reading only headers ?
Jan 20, 2014 at 8:51 PM
Try the method ExamineMailbox