Actions

API17

JMail::sendMail

From Joomla! Documentation

Revision as of 20:56, 23 April 2011 by Doxiki2 (Talk | contribs)

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

Description

Function to send an email.

Description:JMail::sendMail [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JMail::sendMail ($from, $fromName, $recipient, $subject, $body, $mode=0, $cc=null, $bcc=null, $attachment=null, $replyTo=null, $replyToName=null)
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 in

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

Referenced by

See also

[Edit See Also]

SeeAlso:JMail::sendMail

Examples

<CodeExamplesForm />