src/Mailer.php
public function setServer($host, $port, $secure=null)
    {
        $this->smtp->setServer($host, $port, $secure);
        return $this;
    }
public function setServer($host, $port, $secure=null)
    {
        $this->smtp->setServer($host, $port, $secure);
        return $this;
    }
set server and port
@param string $host server
@param int $port port
@param string $secure ssl tls tlsv1.0 tlsv1.1 tlsv1.2
@return $this