public function subscribeMailbox($name = '') {
        if (empty($name)) {
            return false;
        }

        $name = imap_utf7_encode($name);
        return imap_subscribe ( $this->conn, "{".$this->settings['server']."}INBOX.".$name );
    }
public function subscribeMailbox($name = '') {
        if (empty($name)) {
            return false;
        }

        $name = imap_utf7_encode($name);
        return imap_subscribe ( $this->conn, "{".$this->settings['server']."}INBOX.".$name );
    }
public function subscribeMailbox ( $ name = '' ) { if ( empty ( $ name ) ) { return false ; } $ name = imap_utf7_encode ( $ name ) ; return imap_subscribe ( $ this -> conn , "{" . $ this -> settings [ 'server' ] . "}INBOX." . $ name ) ; }
Subscribe to a mailbox.

@param string $name

@return bool
Subscribe to a mailbox .