Click or drag to resize

ImapClientSetMessageFlags Method (Int32, String)

Sets the message flags.

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

Parameters

messageNumber
Type: SystemInt32
The message number.
flags
Type: SystemString
A collection of flags to set.
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