Lines Matching refs:body

188      * Set the text and HTML body and apply replacements
196 * @param string $text plain text body
199 * @param string $html the HTML body, leave null to create it from $text
491 * Build the body and handles multi part mails
495 * @return string the prepared mail body, false on errors
500 // no HTML mails allowed? remove HTML body
505 // check for body
513 $body = '';
518 $body .= chunk_split(base64_encode($this->text), 72, MAILHEADER_EOL);
520 $body .= "This is a multi-part message in MIME format." . MAILHEADER_EOL;
529 $body .= '--' . $this->boundary . 'XX' . MAILHEADER_EOL;
530 $body .= 'Content-Type: text/plain; charset=UTF-8' . MAILHEADER_EOL;
531 $body .= 'Content-Transfer-Encoding: base64' . MAILHEADER_EOL;
532 $body .= MAILHEADER_EOL;
533 $body .= chunk_split(base64_encode($this->text), 72, MAILHEADER_EOL);
534 $body .= '--' . $this->boundary . 'XX' . MAILHEADER_EOL;
535 $body .= 'Content-Type: multipart/related;' . MAILHEADER_EOL .
538 $body .= MAILHEADER_EOL;
541 $body .= '--' . $this->boundary . MAILHEADER_EOL;
542 $body .= 'Content-Type: text/html; charset=UTF-8' . MAILHEADER_EOL;
543 $body .= 'Content-Transfer-Encoding: base64' . MAILHEADER_EOL;
544 $body .= MAILHEADER_EOL;
545 $body .= chunk_split(base64_encode($this->html), 72, MAILHEADER_EOL);
546 $body .= MAILHEADER_EOL;
547 $body .= $attachments;
548 $body .= '--' . $this->boundary . '--' . MAILHEADER_EOL;
552 $body .= '--' . $this->boundary . 'XX--' . MAILHEADER_EOL;
556 return $body;
639 $body = $this->prepareBody();
640 if ($body === false) return false;
643 return $headers . MAILHEADER_EOL . $body;
730 'body' => &$this->text,
766 // make the body
767 $body = $this->prepareBody();
768 if ($body === false) return false;
788 $success = @mail($to, $subject, $body, $headers);
790 $success = @mail($to, $subject, $body, $headers, $this->sendparam);