Back to Mail class

Method clearAttachments

public \Joomla\CMS\Mail\Mail
clearAttachments
()
Unset all file attachments from the email
Returns
  • \Joomla\CMS\Mail\Mail Returns this object for chaining.
Since
  • 3.0.1
Class: Mail
Project: Joomla

Method clearAttachments - Source code

/**
 * Unset all file attachments from the email
 *
 * @return  Mail  Returns this object for chaining.
 *
 * @since   3.0.1
 */
public function clearAttachments()
{
    parent::clearAttachments();
    return $this;
}