Click or drag to resize

ImapClientSetMessageRangeFlags Method (Int32, Int32, String)

Sets the flags to specified range of messages.

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

Parameters

startingNumber
Type: SystemInt32
First message number.
endingNumber
Type: SystemInt32
Last 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 Starting number is out of range or Ending number is out of range.
ArgumentNullException Flags parameter is null.
See Also