JMailTest::testUseSMTP
Test for the JMail::useSMTP method.
Signature
public function testUseSMTP(string
$auth,
string
$host,
string
$user,
string
$pass,
string
$secure,
integer
$port,
string
$expected )
Parameters
-
$auth
- SMTP Authentication
-
$host
- SMTP Host
-
$user
- SMTP Username
-
$pass
- SMTP Password
-
$secure
- Use secure methods
-
$port
- The SMTP port
-
$expected
- The expected result
Returns
- void