Click or drag to resize

ImapClientListMessagesAsync Method (IConnection)

Gets the list of messages in the current folder

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<ImapMessageInfoCollection> ListMessagesAsync(
	IConnection connection
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server

Return Value

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