I have 10 customers, one for each mail box on Aruba IMAP server.
Every first access into the Inbox folder seems that all mail is marked as “seen”
If I close the application and restart it, I can't really detect whitch mail are "seen" and whitch are "unseen".
Reading some faq in your site, I understood that some server mark the email as seen, perhaps the problem could be from
imap.GetMessageInfoByUID(uids)
and the suggestion is to use imap.PeekMessageByUID(uids) instead of imap.GetMessageInfoByUID(uids).
It is a correct solution?