Lines Matching refs:text
25 protected $text = ''; variable in Mailer
196 * @param string $text plain text body
202 public function setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true) argument
210 $html = $text;
222 if (strpos($text, '@EMAILSIGNATURE@') === false) {
223 $text .= '@EMAILSIGNATURE@';
249 $text = str_replace('@' . strtoupper($key) . '@', $substitution, $text);
256 $this->setText($text);
278 * @param string $text
280 public function setText($text) argument
282 $this->text = $text;
397 $text = trim($matches[1]);
400 $text = '';
420 … if (!empty($text) && !isWindows()) { // No named recipients for To: in Windows (see FS#652)
425 $text = Clean::deaccent($text);
426 $text = Clean::strip($text);
429 if (strpos($text, ',') !== false || !Clean::isASCII($text)) {
430 $text = '=?UTF-8?B?' . base64_encode($text) . '?=';
433 $text = '';
440 $headers .= $text . ' ' . $addr;
506 if (!$this->text && !$this->html) {
518 $body .= chunk_split(base64_encode($this->text), 72, MAILHEADER_EOL);
526 if ($this->text && $this->html) {
533 $body .= chunk_split(base64_encode($this->text), 72, MAILHEADER_EOL);
551 if ($this->text && $this->html) {
730 'body' => &$this->text,