Project

General

Profile

Bug #19441 » 9523.diff

Administrator Admin, 2008-10-09 11:59

View differences:

typo3_src-4.2.2.new/t3lib/class.t3lib_htmlmail.php 2008-10-09 11:54:48.000000000 +0200
$this->constructMixed($boundary);
} elseif ($this->theParts['html']['content']) {
// Generate plain/HTML mail
$this->add_header('Content-Type: ' . $this->getHTMLContentType() . ';');
$this->add_header('Content-Type: ' . $this->getHTMLContentType());
$this->add_header(' boundary="' . $boundary . '"');
$this->add_message('This is a multi-part message in MIME format.' . "\n");
$this->constructHTML($boundary);
......
if ($this->theParts['html']['content']) {
// HTML and plain is added
$newBoundary = $this->getBoundary();
$this->add_message('Content-Type: '.$this->getHTMLContentType() . ';');
$this->add_message('Content-Type: ' . $this->getHTMLContentType());
$this->add_message(' boundary="' . $newBoundary . '"');
$this->add_message('');
$this->constructHTML($newBoundary);
(2-2/2)