imap_renamemailbox
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Rename an old mailbox to new mailbox
Description
imap_renamemailbox(IMAP\Connection $imap, string $from, string $to): bool
This function renames on old mailbox to new mailbox (see imap_open() for the format of mbox names).
Parameters
fromThe old mailbox name, see
imap_open()for more informationInsecure
toThe new mailbox name, see
imap_open()for more informationInsecure
Return Values
Success
Changelog
| Version | Description |
|---|