MailBee.NET Objects 4.0

FolderStatus.UnseenCount Property

Gets the number of unseen messages in the folder.

public int UnseenCount {get;}

Property Value

The non-negative Int32 value containing the number of messages which have not been read, or -1 if this information is not available.

Remarks

Unseen (unread) messages are messages not having "\Seen" flag set. See Seen topic for more information regarding unread messages.

Note   This value is different from Unseen which returns the ordinal message number of the first unseen message in the folder, not the count of the unseen messages.

See Also

FolderStatus Class | MailBee.ImapMail Namespace