Click or drag to resize

Pop3SendCommandAsync Method (String)

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
)

Parameters

command
Type: SystemString
Command e.g. "STAT".

Return Value

Type: TaskPop3Response
Single-line response object.
Exceptions
ExceptionCondition
Pop3ResponseExceptionThrows Pop3ResponseException on error response.
Remarks
Most commands have their own specialized methods in this class, you should probably use them instead.
See Also