Click or drag to resize

ImapSendCommandAsync Method (String, Boolean)

Sends command and waits for the server response.

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public Task<ImapResponse> SendCommandAsync(
	string command,
	bool throwException
)

Parameters

command
Type: SystemString
Command e.g. "NOOP".
throwException
Type: SystemBoolean
If true throws ImapResponseException on error response.

Return Value

Type: TaskImapResponse
IMAP response object.
Remarks
Most commands have their own specialized methods in this class, you should probably use them instead.
See Also