Click or drag to resize

ImapStatusAsync(FolderInfo, CancellationToken) Method

The STATUS command requests the status of the indicated mailbox. It does not change the currently selected mailbox, nor does it affect the state of any messages in the queried mailbox (messages don't lose the Recent) flag. This command MUST NOT be used as a "check for new messages in the selected mailbox" operation (You should rather use FolderStatus and Noop or UIDNext) or Search(Flag)). STATUS command is not guaranteed to be fast in its response.

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

Parameters

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

Return Value

TaskStatus
Status information of the specified folder.
See Also