Dart Smtp, Pop, Imap Controls
Count Property
Description
Returns the number of messages on the server.
Property type
Read-only property
Syntax
Visual Basic
Public Property Count As Long
Remarks

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.

See Also

Pop Object  | Pop Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic