Click or drag to resize

ImapGetFoldersTreeAsync Method (String, SubFolders)

Lists folder tree roots starting from specified folder (mailbox). In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task<List<FolderInfo>> GetFoldersTreeAsync(
	string parent,
	SubFolders subFolders
)

Parameters

parent
Type: SystemString
Parent folder (mailbox) to start search from.
subFolders
Type: Limilabs.Client.IMAPSubFolders
Indicates how many sub folder levels should be downloaded.

Return Value

Type: TaskListFolderInfo
Folder tree roots (use SubFolders to access sub folders).
See Also