Click or drag to resize

ImapClientAddMessageFlagsAsync Method (IConnection, String, String, ImapMessageFlags, Int64, CancellationToken)

Adds the flags of the message

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task AddMessageFlagsAsync(
	IConnection connection,
	string startUid,
	string endUid,
	ImapMessageFlags flags,
	long modificationSequence,
	CancellationToken token
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
startUid
Type: SystemString
The starting UID of a message list
endUid
Type: SystemString
The ending UID of a message list
flags
Type: Aspose.Email.Clients.ImapImapMessageFlags
The flags to be changed
modificationSequence
Type: SystemInt64
Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

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