src/IMAP/Client.php
protected function getAddress() {
        $address = "{".$this->host.":".$this->port."/".($this->protocol ? $this->protocol : 'imap');
        if (!$this->validate_cert) {
            $address .= '/novalidate-cert';
        }
        if (in_array($this->encryption,['tls','ssl'])) {
            $address .= '/'.$this->encryption;
        }

        $address .= '}';

        return $address;
    }
protected function getAddress() {
        $address = "{".$this->host.":".$this->port."/".($this->protocol ? $this->protocol : 'imap');
        if (!$this->validate_cert) {
            $address .= '/novalidate-cert';
        }
        if (in_array($this->encryption,['tls','ssl'])) {
            $address .= '/'.$this->encryption;
        }

        $address .= '}';

        return $address;
    }
protected function getAddress ( ) { $ address = "{" . $ this -> host . ":" . $ this -> port . "/" . ( $ this -> protocol ? $ this -> protocol : 'imap' ) ; if ( ! $ this -> validate_cert ) { $ address .= '/novalidate-cert' ; } if ( in_array ( $ this -> encryption , [ 'tls' , 'ssl' ] ) ) { $ address .= '/' . $ this -> encryption ; } $ address .= '}' ; return $ address ; }
Get full address of mailbox.

@return string
Get full address of mailbox .