ImapMessageCount Property
Gets the number of messages in the currently selected folder.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntax
public int MessageCount { get; }

Property Value

Type: Int32
The integer value containing the number of messages in the currently selected folder, or 0 if no folder is selected.
Remarks
Ordinal message number of the first message in a folder is 1 (not 0). Ordinal message number of the last message in a folder is MessageCount.
See Also