JMail::useSMTP
Use SMTP for sending the email
Signature
public function useSMTP([string
$auth = null,
[string
$host = null,
[string
$user = null,
[string
$pass = null,
[string
$secure = null,
[integer
$port = 25]]]]]] )
Parameters
-
$auth
- SMTP Authentication [optional]
-
$host
- SMTP Host [optional]
-
$user
- SMTP Username [optional]
-
$pass
- SMTP Password [optional]
-
$secure
- Use secure methods
-
$port
- The SMTP port
Returns
- boolean
- True on success