API17

JMail::addAttachment

From Joomla! Documentation

Revision as of 21:21, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

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.

Joomla 11.1 JMail::addAttachment[edit]

Description[edit]

Add file attachments to the email.

Template:Description:JMail::addAttachment [Edit Descripton]

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 Joomla 11.1

See also[edit]

Template:SeeAlso:JMail::addAttachment [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />