Click or drag to resize

Pop3SendCommandAsync Method (String, Boolean)

Sends command, which expects to receive single-line response, to POP3 server (e.g. "STAT").

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

Parameters

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

Return Value

Type: TaskPop3Response
Single-line response object.
Remarks
Some commands have their own specialized methods in this class, you should probably use them instead.
See Also