imap_deletemailbox
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Delete a mailbox
Description
imap_deletemailbox(IMAP\Connection $imap, string $mailbox): bool
Deletes the specified mailbox.
Parameters
mailboxThe mailbox name, see
imap_open()for more informationInsecure
Return Values
Success
Changelog
| Version | Description |
|---|
See Also
imap_createmailbox()imap_renamemailbox()imap_open()for the format ofmbox