ListMailboxes Method

Lists all mailboxes matching all criteria in the Mailbox property.

Syntax

public void ListMailboxes();
Public Sub ListMailboxes()

Remarks

This method lists all of the mailboxes matching the criteria in the Mailbox property. Matching mailboxes are returned through the MailboxList event.

Example (List All Mailboxes)


IMAPControl.Mailbox = "*"
IMAPControl.ListMailboxes()

Example (List All Mailboxes Inside INBOX)


IMAPControl.Mailbox = "INBOX.*"
IMAPControl.ListMailboxes()

.NET Standard Notes

To call this method in an asynchronous manner call ListMailboxesAsync instead. When the method completes (or an error is encountered) the ListMailboxesCompleted event will fire.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 .NET Edition - Version 20.0 [Build 7718]