Click or drag to resize

ImapClientRenameFolder Method

Renames the folder.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1019
Syntax
public void RenameFolder(
	string oldName,
	string newName
)

Parameters

oldName
Type: SystemString
Current folder full name.
newName
Type: SystemString
New folder full name.
Exceptions
ExceptionCondition
InvalidOperationException Client is not connected or Server error.
ArgumentException Old folder name is null or empty or New folder name is null or empty.
See Also