public function setHTML($content, array $options = array()) {
        $this->html = $content;
        $this->htmlCharset = (isset($options['charset'])) ? $options['charset'] : 'utf-8';
        if (@$options['autoSetText']) {
            $this->setText(strip_tags($this->html), $this->htmlCharset);
        }
        return $this;
    }
public function setHTML($content, array $options = array()) {
        $this->html = $content;
        $this->htmlCharset = (isset($options['charset'])) ? $options['charset'] : 'utf-8';
        if (@$options['autoSetText']) {
            $this->setText(strip_tags($this->html), $this->htmlCharset);
        }
        return $this;
    }
public function setHTML ( $ content , array $ options = array ( ) ) { $ this -> html = $ content ; $ this -> htmlCharset = ( isset ( $ options [ 'charset' ] ) ) ? $ options [ 'charset' ] : 'utf-8' ; if ( @ $ options [ 'autoSetText' ] ) { $ this -> setText ( strip_tags ( $ this -> html ) , $ this -> htmlCharset ) ; } return $ this ; }
Set html content
@param string $content
@param array $options Keys may include [(string) charset [= "utf-8"], (boolean) autoSetText]
@return \Email
Set html content