API17:JUtility::sendMail
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 80: | Line 80: | ||
boolean True on success | boolean True on success | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/utilities/utility.php | + | libraries/joomla/utilities/utility.php (line 42) |
| + | * see source code in [[jplatform:utilities/utility.php#cl-42|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 21:32, 23 April 2011
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.
JUtility::sendMail
Description
Mail function (uses phpMailer).
Description:JUtility::sendMail [Edit Descripton]
Since
Synopsis
public static JUtility::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/utilities/utility.php (line 42)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
