imap_renamemailbox
Rename an old mailbox to new mailbox
Description
boolimap_renamemailbox
resourceimap_stream
stringold_mbox
stringnew_mbox
This function renames on old mailbox to new mailbox (see
imap_open for the format of
mbox names).
&return.success;
See also imap_createmailbox,
imap_deletemailbox, and
imap_open for the format of
mbox.