Click or drag to resize

Pop3DeleteMessageByUIDAsync Method

Deletes message specified by the uid. POP3 server does not actually delete the message until successful QUIT command issued by Close or Close(Boolean).

Namespace: Limilabs.Client.POP3
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task DeleteMessageByUIDAsync(
	string uid,
	CancellationToken cancel = default
)

Parameters

uid  String
Unique-id of the message to flag.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

Task
A task that represents the asynchronous message delete operation.
Exceptions
ExceptionCondition
Pop3ResponseExceptionThrows Pop3ResponseException on error response.
ExceptionInvalid uid provided.
See Also