JUtility::sendMail
From Joomla! Documentation
Revision as of 21:50, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→See also: moving preparation)
Revision as of 21:50, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→See also: moving preparation)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JUtility::sendMail[edit]
Description[edit]
Mail function (uses phpMailer).
Template:Description:JUtility::sendMail [Edit Descripton]
public static 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 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) |
See also[edit]
- JUtility::sendMail source code on BitBucket
- Class JUtility
- Subpackage Utilities
- Other versions of JUtility::sendMail
Template:SeeAlso:JUtility::sendMail [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />