Difference between revisions of "JUtility::sendMail"

From Joomla! Documentation

m (JoomlaWikiBot moved page JUtility::sendMail/11.1 to API17:JUtility::sendMail without leaving a redirect: Robot: Moved page)
m (See also: moving preparation)
(One intermediate revision by the same user not shown)
Line 91: Line 91:
===See also===
===See also===
* {{JVer|11.1}} '''JUtility::sendMail source code''' on [[jplatform:utilities/utility.php#cl-35|BitBucket]]
* {{JVer|11.1}} '''JUtility::sendMail source code''' on [[jplatform:utilities/utility.php#cl-35|BitBucket]]
* {{JVer|11.1}} Class [[JUtility/11.1|JUtility]]
* {{JVer|11.1}} Class [[API17:JUtility|JUtility]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JUtility::sendMail|Other versions of JUtility::sendMail]]
* [[API17:JUtility::sendMail|Other versions of JUtility::sendMail]]
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
Line 109: Line 109:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:50, 11 May 2013

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 JUtility::sendMail


Mail function (uses phpMailer).

Description:JUtility::sendMail [Edit Descripton]

public static function sendMail (
Parameter Type Default Description
$from string From email address
$fromname string From name
$recipient mixed Recipient email address(es)
$subject string Email subject
$body string Message body
$mode boolean 0 false = plain text, true = HTML
$cc mixed null CC email address(es)
$bcc mixed null BCC email address(es)
$attachment mixed null Attachment file name(s)
$replyto mixed null Reply to email address(es)
$replytoname mixed null Reply to name(s)
  • Returns boolean True on success
  • Defined on line 43 of libraries/joomla/utilities/utility.php
  • Since Joomla 11.1

See also

SeeAlso:JUtility::sendMail [Edit See Also]

User contributed notes

<CodeExamplesForm />