Actions

API17

Difference between revisions of "JMail::useSMTP"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JMail->useSMTP ($auth=null, $host=null, $user=null, $pass=null, $secure=null, $port=25)
+
public JMail::useSMTP ($auth=null, $host=null, $user=null, $pass=null, $secure=null, $port=25)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 55: Line 55:
 
boolean True on success
 
boolean True on success
 
===Defined in===
 
===Defined in===
libraries/joomla/mail/mail.php
+
libraries/joomla/mail/mail.php (line 324)
 +
* see source code in [[jplatform:mail/mail.php#cl-324|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 19:56, 23 April 2011

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

Description

Use SMTP for sending the email.

Description:JMail::useSMTP [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JMail::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 $secure null
$port int 25 $port

Returns

boolean True on success

Defined in

libraries/joomla/mail/mail.php (line 324)

Referenced by

See also

[Edit See Also]

SeeAlso:JMail::useSMTP

Examples

<CodeExamplesForm />