Click or drag to resize

ImapClientAddMessageFlags Method (Int32, String)

Adds the message flags.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 11.3.30.1034
Syntax
public void AddMessageFlags(
	int messageNumber,
	params string[] flags
)

Parameters

messageNumber
Type: SystemInt32
The message number.
flags
Type: SystemString
A collection of flags to add.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentOutOfRangeException Message number is out of range.
ArgumentNullException Flags parameter is null.
See Also