This property returns the following:
- Number of messages to be received, in the case of MAPISession/OutlookSession/POP3Session.
- Number of elements in the collection, in the case of MailRecipientCollection/StringCollection.
&DataType.Count
Type Returned:
Numeric
MAPISession/OutlookSession/POP3Session: It returns the number of messages which meet the folder opening requirements, and which will therefore be received.
i.e.: If the folder or the session is opened specifying that only the unread messages will be received (via the NewMessages property), it will return the unread messages. But if the folder is opened specifying that all messages will be received, it will return all the messages.
This property is read only, so it cannot be assigned.
NewMessages Property
Receive method
Send method
MailRecipientCollection Data Type
MAPISession Data Type
OutlookSession Data Type
POP3Session Data Type
StringCollection Data Type