MailBee.NET Objects 4.0

FolderQuota.CurrentMessageCount Property

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

public int CurrentMessageCount {get;}

Property Value

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

Nowdays, 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

FolderQuota Class | MailBee.ImapMail Namespace