FolderQuotaCurrentMessageCount Property
Gets the number of messages currently existing in the account or folder the quota applies to.

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

Property Value

Type: Int32
The non-negative Int32 value containing the number of messages currently existing in the account or folder the quota applies to, or -1 if this information is not available.
Remarks
Nowadays, most servers limit maximum storage size only (maximum number of messages is not limited). Due to this, CurrentMessageCount and MaxMessageCount properties usually return -1.
See Also