PowerTCP Mail for .NET
GetAllMailboxes Method




Walks the mailbox tree from the root and returns a flat list of all mailboxes advertised by the server.
Syntax
Public Function GetAllMailboxes() As List(Of Mailbox)
Dim instance As Imap
Dim value As List(Of Mailbox)
 
value = instance.GetAllMailboxes()
public List<Mailbox> GetAllMailboxes()
public: List<Mailbox*>* GetAllMailboxes(); 
public:
List<Mailbox^>^ GetAllMailboxes(); 

Return Value

A flat list of all mailboxes advertised by the server.
Remarks
Uses Mailbox.Mailboxes and MailboxCollection.Refresh to walk the mailbox tree, re-populating the hierarchy of nested mailboxes using the LIST and LSUB commands.
See Also

Reference

Imap Class
Imap Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic