Pop3ClientFetchMessagesAsync Method (IEnumerableString, CancellationToken)

Fetches the messages asynchronously

Namespace:  Aspose.Email.Clients.Pop3
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<IList<MailMessage>> FetchMessagesAsync(
	IEnumerable<string> uids,
	CancellationToken token
)

Parameters

uids
Type: System.Collections.GenericIEnumerableString
The sequence numbers of the messages
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskIListMailMessage
Task object, with delegate for this operation
See Also