IAsyncImapClient.RenameFolderAsync

IAsyncImapClient.RenameFolderAsync method

Renames a specified folder to a new name

public Task RenameFolderAsync(string folderName, string newFolderName, 
    IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
folderNameStringFolder to be renamed
newFolderNameIConnectionNew folder name
tokenCancellationTokenPropagates notification that operations should be canceled.

See Also