IAsyncPop3Client.FetchMessageAsync
Contents
[
Hide
]FetchMessageAsync(string, IConnection, CancellationToken)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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. |
Return Value
The message
See Also
- class MailMessage
- interface IConnection
- interface IAsyncPop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
FetchMessageAsync(int, IConnection, CancellationToken)
Fetches the message
public Task<MailMessage> FetchMessageAsync(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. |
Return Value
The message
See Also
- class MailMessage
- interface IConnection
- interface IAsyncPop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email