Click or drag to resize

ImapClientMoveMessageRange Method

Moves the specified range of messages to another folder.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 11.3.30.1034
Syntax
public void MoveMessageRange(
	int startingNumber,
	int endingNumber,
	string destinationFolder
)

Parameters

startingNumber
Type: SystemInt32
First message number.
endingNumber
Type: SystemInt32
Last message number.
destinationFolder
Type: SystemString
The destination folder name.
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.
ArgumentException Destination folder is null or empty.
See Also