Pop Object : Count Property |
Visual Basic |
---|
Public Property Count As Long |
When Login is used to connect to a server and authenticate, this property is set to the number of messages in the user's mailbox. This property is valid during the session and returns 1 at other times.
Numbers between 1 and Count are used to reference messages on the server. Do not attempt to reference messages outside this range. The Count of messages remains constant for the session. Even when messages are "marked-for-delete" using the Delete method, Count does not change, because messages are not actually deleted until the session ends.