imap_renamemailbox
imap_renamemailbox
Rename an old mailbox to new mailbox
bool **imap_renamemailbox** IMAP\Connection $imap string $from string $to
This function renames on old mailbox to new mailbox (see
for the format of
names).
imap_open``mbox
from
The old mailbox name, see for more
information
imap_open
to
The new mailbox name, see for more
information
imap_open
return.success
imap_createmailbox``imap_deletemailbox