API17:JMail::addAttachment
From Joomla! Documentation
JMail::addAttachment
Description
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
JMail::addAttachment source code on BitBucket
Class JMail
Subpackage Mail- Other versions of JMail::addAttachment
User contributed notes
Code Examples