Click or drag to resize

ImapClientDeleteMessageAsync Method (String, Boolean)

Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
public Task DeleteMessageAsync(
	string uniqueId,
	bool commitNow


Type: SystemString
The uid of the message
Type: SystemBoolean
Defines whether message must be commited now. Please, read more

Return Value

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