IAsyncPop3Client.DeleteMessageAsync
Contents
[
Hide
]DeleteMessageAsync(int, IConnection, CancellationToken)
Deletes the message
public Task DeleteMessageAsync(int sequenceNumber, IConnection connection = null, 
    CancellationToken token = default)
| Parameter | Type | Description | 
|---|---|---|
| connection | Int32 | Connection to a server | 
| sequenceNumber | IConnection | The sequence number of the message | 
| token | CancellationToken | Propagates 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
- interface IConnection
- interface IAsyncPop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(string, IConnection, CancellationToken)
Deletes the message
public Task DeleteMessageAsync(string uniqueId, IConnection connection = null, 
    CancellationToken token = default)
| Parameter | Type | Description | 
|---|---|---|
| connection | String | Connection to a server | 
| uniqueId | IConnection | The unique id of the message | 
| token | CancellationToken | Propagates 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
- interface IConnection
- interface IAsyncPop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email