MessageCount Property

Return the number of messages available on the server.

Syntax

object.MessageCount

The object is an expression that evaluates to an InternetMail object. The property returns a long integer value.

Remarks

The MessageCount property returns the number of messages available to be retrieved from the mail server. When a message is deleted from the mailbox, this value will decrease. To determine the highest valid message number, regardless of any deleted messages, use the LastMessage property.

Data Type

Integer

See Also

LastMessage Property, Message Property, MessageSize Property


Copyright © 2008 Catalyst Development Corporation. All rights reserved.