MailboxSize Property  
 

Return the size of the current mailbox.

Syntax

object.MailboxSize

Remarks

The MailboxSize property returns the combined size of all messages in the current mailbox. Reading this property 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.

Data Type

Integer (Int32)

See Also

Message Property, MessageCount Property, MessageSize Property