RenameMailbox Method
Change the name of Mailbox to NewName .
Syntax
imapcontrol.RenameMailbox NewNameRemarks
This method allows the renaming of a mailbox. The mailbox is specified by the Mailbox property, and the new name is specified by the NewName parameter.