JMail::addAttachment
From Joomla! Documentation
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.
JMail::addAttachment[edit]
Description[edit]
Add file attachments to the email.
public function addAttachment ($attachment)
Parameter | Type | Default | Description |
---|---|---|---|
$attachment | mixed | Either a string or array of strings [filenames] |
- Returns Returns this object for chaining.
- Defined on line 239 of libraries/joomla/mail/mail.php
- Since
See also[edit]
JMail::addAttachment source code on BitBucket
Class JMail
Subpackage Mail
- Other versions of JMail::addAttachment
User contributed notes[edit]
Code Examples[edit]