Pop3ClientListMessagesAsync Method (IConnection, Pop3ListFields)

Lists the messages.

Namespace:  Aspose.Email.Clients.Pop3
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<Pop3MessageInfoCollection> ListMessagesAsync(
	IConnection connection,
	Pop3ListFields fields
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
fields
Type: Aspose.Email.Clients.Pop3Pop3ListFields
The fields that we want get

Return Value

Type: TaskPop3MessageInfoCollection
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also