Pop3Client.DeleteMessageAsync
DeleteMessageAsync(IConnection, int)
Deletes the message
public Task DeleteMessageAsync(IConnection connection, int sequenceNumber)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(IConnection, string)
Deletes the message
public Task DeleteMessageAsync(IConnection connection, string uniqueId)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique id of the message |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(int)
Deletes the message
public Task DeleteMessageAsync(int sequenceNumber)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(string)
Deletes the message
public Task DeleteMessageAsync(string uniqueId)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique id of the message |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(IConnection, int, CancellationToken)
Deletes the message
public Task DeleteMessageAsync(IConnection connection, int sequenceNumber, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(IConnection, string, CancellationToken)
Deletes the message
public Task DeleteMessageAsync(IConnection connection, string uniqueId, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique id of the message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(int, CancellationToken)
Deletes the message
public Task DeleteMessageAsync(int sequenceNumber, CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
DeleteMessageAsync(string, CancellationToken)
Deletes the message
public Task DeleteMessageAsync(string uniqueId, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique id of the message |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
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
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email