Click or drag to resize

ImapClientDeleteMessageAsync Method (IConnection, String)

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 DeleteMessageAsync(
	IConnection connection,
	string uniqueId
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
uniqueId
Type: SystemString
The uid of the message

Return Value

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