From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JMail::useSMTP


Use SMTP for sending the email.

Description:JMail::useSMTP [Edit Descripton]

public function useSMTP (
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

  • Joomla 11.1 JMail::useSMTP source code on BitBucket
  • Joomla 11.1 Class JMail
  • Joomla 11.1 Subpackage Mail
  • Other versions of JMail::useSMTP

SeeAlso:JMail::useSMTP [Edit See Also]

User contributed notes

<CodeExamplesForm />