IAsyncPop3Client.DeleteMessagesAsync

IAsyncPop3Client.DeleteMessagesAsync method

Deletes all messages

public Task DeleteMessagesAsync(IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates notification that operations should be canceled.

Remarks

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

See Also