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:33:59 +00:00
parent 68ce4a81e1
commit fd37185922

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;