mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 01:52:15 +02:00
Reapply charset quiting fix
This commit is contained in:
parent
06aff1b403
commit
fb70deb117
@ -1259,7 +1259,7 @@ class PHPMailer {
|
||||
switch($this->message_type) {
|
||||
case 'plain':
|
||||
$result .= $this->HeaderLine('Content-Transfer-Encoding', $this->Encoding);
|
||||
$result .= $this->TextLine('Content-Type: '.$this->ContentType.'; charset="'.$this->CharSet.'"');
|
||||
$result .= $this->TextLine('Content-Type: '.$this->ContentType.'; charset='.$this->CharSet);
|
||||
break;
|
||||
case 'inline':
|
||||
$result .= $this->HeaderLine('Content-Type', 'multipart/related;');
|
||||
@ -1444,7 +1444,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;
|
||||
|
Loading…
Reference in New Issue
Block a user