(PHP 3, PHP 4 >= 4.0b1)
int imap_deletemailbox (int imap_stream, string mbox)
int imap_deletemailbox
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_renamemailbox(), and imap_open() for the format of mbox.