Click or drag to resize

ImapGetNamespacesAsync Method

Lists all namespaces available for this user. Not all servers support Namespace. You can check which extensions remote server supports using SupportedExtensions method.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<Namespaces> GetNamespacesAsync(
	CancellationToken cancel = default
)

Parameters

cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

TaskNamespaces
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".
See Also