public function getMailbox()
    {
        $mailbox = str_replace("{".$this->settings['server']."}", '', $this->mailbox);
        $mailbox = (substr($mailbox, 0, 6) == 'INBOX.') ? substr($mailbox, -6) : $mailbox;

        return $mailbox;
    }
public function getMailbox()
    {
        $mailbox = str_replace("{".$this->settings['server']."}", '', $this->mailbox);
        $mailbox = (substr($mailbox, 0, 6) == 'INBOX.') ? substr($mailbox, -6) : $mailbox;

        return $mailbox;
    }
public function getMailbox ( ) { $ mailbox = str_replace ( "{" . $ this -> settings [ 'server' ] . "}" , '' , $ this -> mailbox ) ; $ mailbox = ( substr ( $ mailbox , 0 , 6 ) == 'INBOX.' ) ? substr ( $ mailbox , - 6 ) : $ mailbox ; return $ mailbox ; }
Return the name of the current mailbox.

@return string
Return the name of the current mailbox .