Returns the number of mailboxes available on the server.
Syntax
object.Mailboxes
Remarks
The Mailboxes property returns the total number of
mailboxes available to the current account on the server. This
property can be used in conjunction with the Mailbox property
array to enumerate the names of all of the mailboxes which can be
selected by the client.
Data Type
Integer (Int32)
Example
The following example demonstrates how to use the Mailboxes
property to populate a listbox that contains the names of the
available mailboxes:
For nIndex = 0 To ImapClient1.Mailboxes - 1
List1.AddItem ImapClient1.Mailbox(nIndex)
Next
See Also
Mailbox Property,
MailboxFlags Property,
MailboxName Property,
MailboxUID Property,
ReadOnly Property
|