imap_deletemailbox

(PHP 3, PHP 4, PHP 5)

imap_deletemailbox -- Delete a mailbox

Description

bool imap_deletemailbox ( resource imap_stream, string mbox )

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

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки..

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