PHP Manual
Prev |  | Next

# imap_deletemailbox

imap_deletemailbox -- Delete a mailbox

## Description

`int imap_deletemailbox`(int imap_stream, string mbox);

imap_deletemailbox() deletes the specified mailbox (see imap_open() for the format of `mbox` names).

Returns true on success and false on error.

See also imap_createmailbox(), imap_reanmemailbox(), and imap_open() for the format of `mbox`.

Prev | Home | Next
imap_delete | Up | imap_expunge