Back to Mail class

Method isHtml

public \Joomla\CMS\Mail\Mail
isHtml
(mixed $ishtml = true)
Sets message type to HTML
Parameters
  • bool $ishtml Boolean true or false.
Returns
  • \Joomla\CMS\Mail\Mail Returns this object for chaining.
Since
  • 3.1.4
Class: Mail
Project: Joomla

Method isHtml - Source code

/**
 * Sets message type to HTML
 *
 * @param   boolean  $ishtml  Boolean true or false.
 *
 * @return  Mail  Returns this object for chaining.
 *
 * @since   3.1.4
 */
public function isHtml($ishtml = true)
{
    parent::isHTML($ishtml);
    return $this;
}