imap_deletemailbox
Delete a mailbox
Description
bool imap_deletemailbox(IMAP\Connection $imap
, string $mailbox
)
Parameters
-
imap
-
An IMAP\Connection instance.
-
mailbox
-
The mailbox name, see imap_open for more
information
Return Values
Returns true
on success or false
on failure.
See Also
- imap_createmailbox
- imap_renamemailbox
-
imap_open for the format of
mbox