Gets the ordinal message number of the first message which does not have "\Seen" flag set.
Namespace: MailBee.ImapMailAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic int Unseen { get; }
Public ReadOnly Property Unseen As Integer
Get
Property Value
Type:
Int32The integer value containing one-based message number of the first unseen message in the currently selected folder,
or 0 if there are no unseen messages in the folder or no folder is selected.
RemarksMessages are flagged with "\Seen" tag when they are downloaded completely. For instance, if only a header section of an unseen
message is downloaded, the message will remain unseen. When the message is downloaded entirely, it will be flagged "\Seen".
Note |
---|
If the folder was selected in read-only mode (e.g. using ExamineFolder(String) method), the message flags will NOT be affected
under any circumstances. |
See Also