protected function get_mailbox() {
        // Get the current mailbox.
        $mailbox = $this->client->currentMailbox();

        if (isset($mailbox['mailbox'])) {
            return $mailbox['mailbox'];
        } else {
            throw new \core\message\inbound\processing_failed_exception('couldnotopenmailbox', 'tool_messageinbound');
        }
    }
protected function get_mailbox() {
        // Get the current mailbox.
        $mailbox = $this->client->currentMailbox();

        if (isset($mailbox['mailbox'])) {
            return $mailbox['mailbox'];
        } else {
            throw new \core\message\inbound\processing_failed_exception('couldnotopenmailbox', 'tool_messageinbound');
        }
    }
protected function get_mailbox ( ) { // Get the current mailbox. $ mailbox = $ this -> client -> currentMailbox ( ) ; if ( isset ( $ mailbox [ 'mailbox' ] ) ) { return $ mailbox [ 'mailbox' ] ; } else { throw new \ core \ message \ inbound \ processing_failed_exception ( 'couldnotopenmailbox' , 'tool_messageinbound' ) ; } }
Get the current mailbox information.

@return \Horde_Imap_Client_Mailbox
@throws \core\message\inbound\processing_failed_exception if the mailbox could not be opened.
Get the current mailbox information .