API17:JMail::useSMTP
From Joomla! Documentation
JMail::useSMTP
Description
Use SMTP for sending the email.
public function useSMTP (
$auth=null
$host=null
$user=null
$pass=null
$secure=null
$port=25
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $auth | string | null | SMTP Authentication [optional] |
| $host | string | null | SMTP Host [optional] |
| $user | string | null | SMTP Username [optional] |
| $pass | string | null | SMTP Password [optional] |
| $secure | string | null | |
| $port | int | 25 | $port |
See also
JMail::useSMTP source code on BitBucket
Class JMail
Subpackage Mail- Other versions of JMail::useSMTP
User contributed notes
Code Examples