Click or drag to resize

ImapGetFoldersAsync(FolderInfo, CancellationToken) Method

Lists all folders (mailboxes) under specified folder (mailbox).

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<List<FolderInfo>> GetFoldersAsync(
	FolderInfo parent,
	CancellationToken cancel = default
)

Parameters

parent  FolderInfo
Parent folder (mailbox) to start search from.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskListFolderInfo
Folder list.
See Also