MailBee.NET Objects 6.0

Imap.MessageCount Property

Gets the number of messages in the currently selected folder.

public int MessageCount {get;}

Property Value

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

Imap Class | MailBee.ImapMail Namespace