imap_renamemailbox
Rename an old mailbox to new mailbox
Description
bool imap_renamemailbox(IMAP\Connection $imap
, string $from
, string $to
)
Parameters
-
imap
-
An IMAP\Connection instance.
-
from
-
The old mailbox name, see imap_open for more
information
-
to
-
The new mailbox name, see imap_open for more
information
Return Values
Returns true
on success or false
on failure.
See Also
- imap_createmailbox
- imap_deletemailbox