public function deleteMailbox($mailbox)
    {
        $this->login();

        $mailbox = Horde_Imap_Client_Mailbox::get($mailbox);

        $this->_deleteMailbox($mailbox);
        $this->_deleteMailboxPost($mailbox);
    }
public function deleteMailbox($mailbox)
    {
        $this->login();

        $mailbox = Horde_Imap_Client_Mailbox::get($mailbox);

        $this->_deleteMailbox($mailbox);
        $this->_deleteMailboxPost($mailbox);
    }
public function deleteMailbox ( $ mailbox ) { $ this -> login ( ) ; $ mailbox = Horde_Imap_Client_Mailbox :: get ( $ mailbox ) ; $ this -> _deleteMailbox ( $ mailbox ) ; $ this -> _deleteMailboxPost ( $ mailbox ) ; }
Delete a mailbox.

@param mixed $mailbox  The mailbox to delete. Either a
Horde_Imap_Client_Mailbox object or a string
(UTF-8).

@throws Horde_Imap_Client_Exception
Delete a mailbox .