Click or drag to resize

ImapClientDeleteMessagesAsync Method (IConnection, IEnumerableInt32)

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<int> sequenceSet
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
sequenceSet
Type: System.Collections.GenericIEnumerableInt32
The set of sequence numbers for messages

Return Value

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