Click or drag to resize

ImapCloseCurrentFolderAsync Method

Issues CLOSE command to the server. Unless Examine was used to open folder, CLOSE command permanently removes all messages that have the Deleted flag set from the currently selected folder, and returns to the authenticated state from the selected state (no folder is selected).

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

Parameters

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

Return Value

Task
A task that represents the asynchronous IMAP folder close operation.
See Also