Click or drag to resize

Pop3SendMultiLineCommandAsync(String, CancellationToken) Method

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

Namespace: Limilabs.Client.POP3
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task<Pop3Response> SendMultiLineCommandAsync(
	string command,
	CancellationToken cancel = default
)

Parameters

command  String
Command to send e.g. "RETR".
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

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