Click or drag to resize

ImapClientMoveMessage Method (String, String)

Moves the specified message to another folder.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 11.3.30.1034
Syntax
public void MoveMessage(
	string uid,
	string destinationFolder
)

Parameters

uid
Type: SystemString
The message id.
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