Click or drag to resize

ImapClientDeleteMessages Method (IEnumerableImapMessageInfo, 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 https://tools.ietf.org/html/rfc4315

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public void DeleteMessages(
	IEnumerable<ImapMessageInfo> messageInfoSet,
	bool commitNow
)

Parameters

messageInfoSet
Type: System.Collections.GenericIEnumerableImapMessageInfo
The set of ImapMessageInfo for deletion
commitNow
Type: SystemBoolean
Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315
See Also