(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)
int imap_renamemailbox (int imap_stream, string old_mbox, string new_mbox)
int imap_renamemailbox
This function renames on old mailbox to new mailbox (see imap_open() for the format of mbox names).
Returns TRUE on success and FALSE on error.
See also imap_createmailbox(), imap_deletemailbox(), and imap_open() for the format of mbox.