src/Autodiscover.php
protected function setTLD()
    {
        $pos = strpos($this->email, '@');
        if ($pos !== false) {
            $this->tld = trim(substr($this->email, $pos + 1));
            return true;
        }

        return false;
    }
protected function setTLD()
    {
        $pos = strpos($this->email, '@');
        if ($pos !== false) {
            $this->tld = trim(substr($this->email, $pos + 1));
            return true;
        }

        return false;
    }
protected function setTLD ( ) { $ pos = strpos ( $ this -> email , '@' ) ; if ( $ pos !== false ) { $ this -> tld = trim ( substr ( $ this -> email , $ pos + 1 ) ) ; return true ; } return false ; }
Set the top-level domain to be used with autodiscover attempts based
on the provided email address.

@return boolean
Set the top - level domain to be used with autodiscover attempts based on the provided email address .