Difference between revisions of "JMail::sendMail"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (See also: moving preparation)
(2 intermediate revisions by the same user not shown)
Line 91: Line 91:
===See also===
===See also===
* {{JVer|11.1}} '''JMail::sendMail source code''' on [[jplatform:mail/mail.php#cl-360|BitBucket]]
* {{JVer|11.1}} '''JMail::sendMail source code''' on [[jplatform:mail/mail.php#cl-360|BitBucket]]
* {{JVer|11.1}} Class [[JMail/11.1|JMail]]
* {{JVer|11.1}} Class [[API17:JMail|JMail]]
* {{JVer|11.1}} Subpackage [[Subpackage_Mail/11.1|Mail]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Mail|Mail]]
* [[JMail::sendMail|Other versions of JMail::sendMail]]
* [[API17:JMail::sendMail|Other versions of JMail::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 20:10, 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 JMail::sendMail


Function to send an email.

Description:JMail::sendMail [Edit Descripton]

public 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 368 of libraries/joomla/mail/mail.php
  • Since Joomla 11.1

See also

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

SeeAlso:JMail::sendMail [Edit See Also]

User contributed notes

<CodeExamplesForm />