ImapClient.FetchMessagesAsync
Contents
[
Hide
]FetchMessagesAsync(IEnumerable<int>)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<int> sequenceNumbers)
Parameter | Type | Description |
---|---|---|
sequenceNumbers | IEnumerable`1 | The sequence numbers of the messages |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IEnumerable<string>)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<string> uids)
Parameter | Type | Description |
---|---|---|
uids | IEnumerable`1 | The sequence numbers of the messages |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IConnection, IEnumerable<int>)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection,
IEnumerable<int> sequenceNumbers)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumbers | IEnumerable`1 | The sequence numbers of the messages |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IConnection, IEnumerable<string>)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection, IEnumerable<string> uids)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uids | IEnumerable`1 | The sequence numbers of the messages |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IEnumerable<int>, CancellationToken)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<int> sequenceNumbers,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumbers | IEnumerable`1 | The sequence numbers of the messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IEnumerable<string>, CancellationToken)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IEnumerable<string> uids,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
uids | IEnumerable`1 | The sequence numbers of the messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IConnection, IEnumerable<int>, CancellationToken)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection,
IEnumerable<int> sequenceNumbers, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumbers | IEnumerable`1 | The sequence numbers of the messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessagesAsync(IConnection, IEnumerable<string>, CancellationToken)
Fetches the messages asynchronously
public Task<IList<MailMessage>> FetchMessagesAsync(IConnection connection,
IEnumerable<string> uids, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uids | IEnumerable`1 | The sequence numbers of the messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email