Click or drag to resize

ImapClientDeleteMessagesAsync Method (IConnection, IEnumerableImapMessageInfo)

Marks a message with the specified sequence number as deleted

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task DeleteMessagesAsync(
	IConnection connection,
	IEnumerable<ImapMessageInfo> messageInfoSet
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
messageInfoSet
Type: System.Collections.GenericIEnumerableImapMessageInfo
The set of ImapMessageInfo for deletion

Return Value

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