Hi JanEric,
In the current version of the library, the Folder.Unseen property gives you the message sequence number of the first unseen message in the mailbox, and not the amount of unseen messages.
I now implemented the STATUS command, and made a few changes:
Pavel
In the current version of the library, the Folder.Unseen property gives you the message sequence number of the first unseen message in the mailbox, and not the amount of unseen messages.
I now implemented the STATUS command, and made a few changes:
- Folder.FirstUnseen gives you the message sequence number of the first unseen message
- Folder.Unseen gives you the number of unseen messages in the folder. (Needs a call to Folder.Status method first)
folder.Status(new[] { FolderStatusFields.Unseen });
Greets,Pavel