Lines Matching refs:text
27 protected $text = ''; variable in Mailer
254 * @param string $text plain text body
260 public function setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true) argument
268 $html = $text;
280 if (!str_contains($text, '@EMAILSIGNATURE@')) {
281 $text .= '@EMAILSIGNATURE@';
307 $text = str_replace('@' . strtoupper($key) . '@', $substitution, $text);
314 $this->setText($text);
336 * @param string $text
338 public function setText($text) argument
340 $this->text = $text;
455 $text = trim($matches[1]);
458 $text = '';
478 … if (!empty($text) && !isWindows()) { // No named recipients for To: in Windows (see FS#652)
483 $text = Clean::deaccent($text);
484 $text = Clean::strip($text);
487 if (str_contains($text, ',') || !Clean::isASCII($text)) {
488 $text = '=?UTF-8?B?' . base64_encode($text) . '?=';
491 $text = '';
498 $headers .= $text . ' ' . $addr;
564 if (!$this->text && !$this->html) {
576 $body .= chunk_split(base64_encode($this->text), 72, MAILHEADER_EOL);
584 if ($this->text && $this->html) {
591 $body .= chunk_split(base64_encode($this->text), 72, MAILHEADER_EOL);
609 if ($this->text && $this->html) {
788 'body' => &$this->text,