API17

Difference between revisions of "JMail::useSMTP"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JMail::useSMTP/11.1 to API17:JMail::useSMTP without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 19:40, 10 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JMail::useSMTP[edit]

Description[edit]

Use SMTP for sending the email.

Template:Description:JMail::useSMTP [Edit Descripton]

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
  • Returns boolean True on success
  • Defined on line 324 of libraries/joomla/mail/mail.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JMail::useSMTP [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />