Click or drag to resize

ImapClientRemoveMessageFlagsAsync Method (IEnumerableImapMessageInfo, ImapMessageFlags, CancellationToken)

Removes the flags of the message

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task RemoveMessageFlagsAsync(
	IEnumerable<ImapMessageInfo> messageInfoSet,
	ImapMessageFlags flags,
	CancellationToken token
)

Parameters

messageInfoSet
Type: System.Collections.GenericIEnumerableImapMessageInfo
The set of ImapMessageInfo
flags
Type: Aspose.Email.Clients.ImapImapMessageFlags
The flags to be changed
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

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