Lists all folders (mailboxes) starting from root.
Folders starting with '#' are usually shared between users. You can use GetNamespaces()()()() to obtain information about shared folders.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.12102.1426
Syntax
| C# |
|---|
public List<FolderInfo> GetFolders() |
| Visual Basic |
|---|
Public Function GetFolders As List(Of FolderInfo) |
| Visual C++ |
|---|
public: List<FolderInfo^>^ GetFolders() |
Return Value
Folder list.
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths.
Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".