Lines Matching refs:html
26 protected $html = ''; variable in Mailer
257 * @param string $html the HTML body, leave null to create it from $text
260 public function setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true) argument
267 if ($html === null) {
268 $html = $text;
269 $html = hsc($html);
270 $html = preg_replace('/^----+$/m', '<hr >', $html);
271 $html = nl2br($html);
275 $html = preg_replace('/\n-- <br \/>.*$/s', '', $html); //strip signature
276 $html = str_replace('@EMAILSIGNATURE@', '', $html); //strip @EMAILSIGNATURE@
277 $html = str_replace('@HTMLBODY@', $html, $wrapper);
295 $html = preg_replace_callback(
298 $html
310 $html = str_replace('@' . strtoupper($key) . '@', $substitution, $html);
313 $this->setHTML($html);
324 * @param string $html
326 public function setHTML($html) argument
328 $this->html = $html;
528 … $this->html = str_replace('%%' . $media['embed'] . '%%', 'cid:' . $cid, $this->html);
560 $this->html = '';
564 if (!$this->text && !$this->html) {
573 if (!$this->html && !count($this->attach)) { // we can send a simple single part message
584 if ($this->text && $this->html) {
603 $body .= chunk_split(base64_encode($this->html), 72, MAILHEADER_EOL);
609 if ($this->text && $this->html) {