Lines Matching refs:html
24 protected $html = ''; variable in Mailer
199 * @param string $html the HTML body, leave null to create it from $text
202 public function setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true) argument
209 if ($html === null) {
210 $html = $text;
211 $html = hsc($html);
212 $html = preg_replace('/^----+$/m', '<hr >', $html);
213 $html = nl2br($html);
217 $html = preg_replace('/\n-- <br \/>.*$/s', '', $html); //strip signature
218 $html = str_replace('@EMAILSIGNATURE@', '', $html); //strip @EMAILSIGNATURE@
219 $html = str_replace('@HTMLBODY@', $html, $wrapper);
237 $html = preg_replace_callback(
240 $html
252 $html = str_replace('@' . strtoupper($key) . '@', $substitution, $html);
255 $this->setHTML($html);
266 * @param string $html
268 public function setHTML($html) argument
270 $this->html = $html;
470 … $this->html = str_replace('%%' . $media['embed'] . '%%', 'cid:' . $cid, $this->html);
502 $this->html = '';
506 if (!$this->text && !$this->html) {
515 if (!$this->html && !count($this->attach)) { // we can send a simple single part message
526 if ($this->text && $this->html) {
545 $body .= chunk_split(base64_encode($this->html), 72, MAILHEADER_EOL);
551 if ($this->text && $this->html) {