IMAP_DELETEMAILBOX(3) 1 IMAP_DELETEMAILBOX(3)
imap_deletemailbox - Delete a mailbox
SYNOPSIS
bool imap_deletemailbox (resource $imap_stream, string $mailbox)
DESCRIPTION
Deletes the specified $mailbox.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $mailbox
- The mailbox name, see imap_open(3) for more information
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
imap_createmailbox(3), imap_renamemailbox(3), imap_open(3) for the format of $mbox.
PHP Documentation Group IMAP_DELETEMAILBOX(3)