JUtility::sendMail/1.5
From Joomla! Documentation
JUtility::sendMail
Description
Mail function (uses phpMailer).
Description:JUtility::sendMail [Edit Descripton]
public function 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 e-mail address | |
| $fromname | string | From name | |
| $recipient | mixed | Recipient e-mail address(es) | |
| $subject | string | E-mail subject | |
| $body | string | Message body | |
| $mode | boolean | 0 | false = plain text, true = HTML |
| $cc | mixed | null | CC e-mail address(es) |
| $bcc | mixed | null | BCC e-mail 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 45 of libraries/joomla/utilities/utility.php
See also
-
JUtility::sendMail on api.joomla.org
-
JUtility source code on JoomlaCode
-
Class JUtility
-
Subpackage Utilities
- Other versions of JUtility::sendMail
SeeAlso:JUtility::sendMail [Edit See Also]
User contributed notes
<CodeExamplesForm />