imap_deletemailbox

imap_deletemailbox -- Delete a mailbox

Description

int imap_deletemailbox(int imap_stream, string mbox);

Returns true on success and false on error.

imap_deletemailbox() deletes the specified mailbox.