Click or drag to resize

ImapClientDeleteMessagesAsync Method (IConnection, IEnumerableImapMessageInfo, Int64)

Marks a message with the specified unique identifier 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,
	long modificationSequence
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
messageInfoSet
Type: System.Collections.GenericIEnumerableImapMessageInfo
The set of ImapMessageInfo for deletion
modificationSequence
Type: SystemInt64
Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

Return Value

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