email/phpmailer: fix for bug regarding the sending of the charset information reported by stefan.helzle-at-oscons.de

This commit is contained in:
Klaus Leithoff 2010-10-07 08:34:34 +00:00
parent dac663e30b
commit 6e1f7ad2e7

View File

@ -1295,7 +1295,7 @@ class PHPMailer {
$encoding = $this->Encoding;
}
$result .= $this->TextLine('--' . $boundary);
$result .= sprintf("Content-Type: %s; charset =\"%s\"", $contentType, $charSet);
$result .= sprintf("Content-Type: %s; charset=\"%s\"", $contentType, $charSet);
$result .= $this->LE;
$result .= $this->HeaderLine('Content-Transfer-Encoding', $encoding);
$result .= $this->LE;