Catalyst Internet Mail .NET

InternetMail.MailboxSize Property

Gets the size of the current mailbox.

[Visual Basic]
Public ReadOnly Property MailboxSize As Integer
[C#]
public int MailboxSize {get;}

Property Value

An integer value which specifies the size of the mailbox in bytes.

Remarks

The MailboxSize property returns the combined size of all messages in the current mailbox. Referencing this property will cause the current thread to block and may require a significant amount of time to calculate the mailbox size if there are a large number of messages in the mailbox. Because it can potentially result in long delays, it is not recommended that an application calculate the mailbox size unless it is absolutely necessary.

See Also

InternetMail Class | SocketTools Namespace