MailClient.RenameFolder Method


Rename a folder on IMAP4/MS Exchange server.

[Visual Basic 6.0]
Public Sub RenameFolder( _
    Folder As Imap4Folder, _
    newName As String _
)
[Visual C++]
public: HRESULT RenameFolder(
    IImap4Folder* Folder,
    BSTR newName
);

Parameters

folder
The folder instanct to rename
newName
The folder new name.

See Also

MailClient.CreateFolder
MailClient.DeleteFolder
MailClient.SubscribeFolder
MailClient.UnsubscribeFolder