RenameMailbox Method
Change the name of Mailbox to NewName .
Object Oriented Interface
public function doRenameMailbox($newname);
Procedural Interface
ipworksopenpgp_pimap_do_renamemailbox($res, $newname);
Remarks
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.