Rename a folder on IMAP4/Exchange server.
[Visual Basic] Public Function RenameFolder( _ folder As Imap4Folder, _ newName As String _ ) Public Async Function RenameFolderAsync( _ folder As Imap4Folder, _ newName As String _ ) As Task
[C#] public void RenameFolder( Imap4Folder folder, String newName ); public async Task RenameFolderAsync( Imap4Folder folder, String newName );
[C++] public: void RenameFolder( Imap4Folder^ folder, String newName );
[JScript] public function RenameFolder( folder: Imap4Folder, newName: String );
Parameters
See Also
MailClient.CreateFolder
MailClient.DeleteFolder
MailClient.SubscribeFolder
MailClient.UnsubscribeFolder