Returns the name of the specified mailbox from a list of mailboxes
on the server.
Syntax
object.Mailbox( Index )
Remarks
The Mailbox property array is used to enumerate the
available mailboxes on the IMAP server. This is a zero-based array,
which means that the index value for the first mailbox is zero. The
total number of mailboxes that are available on the server is
returned by the Mailboxes property.
Data Type
String
Example
The following example demonstrates how to use the Mailbox
property array 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
Mailboxes Property,
MailboxFlags Property,
MailboxName Property,
MailboxUID Property,
ReadOnly Property
|