src/Index.php
public function smtp($host, $user, $pass, $port = null, $ssl = false, $tls = false)
    {
        Argument::i()
            ->test(1, 'string')
            ->test(2, 'string')
            ->test(3, 'string')
            ->test(4, 'int', 'null')
            ->test(5, 'bool')
            ->test(6, 'bool');
            
        return Smtp::i($host, $user, $pass, $port, $ssl, $tls);
    }
public function smtp($host, $user, $pass, $port = null, $ssl = false, $tls = false)
    {
        Argument::i()
            ->test(1, 'string')
            ->test(2, 'string')
            ->test(3, 'string')
            ->test(4, 'int', 'null')
            ->test(5, 'bool')
            ->test(6, 'bool');
            
        return Smtp::i($host, $user, $pass, $port, $ssl, $tls);
    }
public function smtp ( $ host , $ user , $ pass , $ port = null , $ ssl = false , $ tls = false ) { Argument :: i ( ) -> test ( 1 , 'string' ) -> test ( 2 , 'string' ) -> test ( 3 , 'string' ) -> test ( 4 , 'int' , 'null' ) -> test ( 5 , 'bool' ) -> test ( 6 , 'bool' ) ; return Smtp :: i ( $ host , $ user , $ pass , $ port , $ ssl , $ tls ) ; }
Returns Mail SMTP

@param *string  $host The SMTP host
@param *string  $user The mailbox user name
@param *string  $pass The mailbox password
@param int|null $port The SMTP port
@param bool     $ssl  Whether to use SSL
@param bool     $tls  Whether to use TLS

@return Eden\Mail\Smtp
Returns Mail SMTP