Click or drag to resize

ImapClientMoveMessage Method (Int32, String)

Moves the specified message to another folder.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public void MoveMessage(
	int messageNumber,
	string destinationFolder
)

Parameters

messageNumber
Type: SystemInt32
The message number.
destinationFolder
Type: SystemString
The destination folder name.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentException Destination folder is null or empty.
See Also