mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fixing a problem regarding the passing on of the charset information, as some clients get confused if there is a blank between the word charset and the equual sign.
This commit is contained in:
parent
e5f45ae50c
commit
bce3b1daac
@ -1083,7 +1083,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;
|
||||
@ -1204,7 +1204,7 @@ class PHPMailer {
|
||||
|
||||
$mime[] = sprintf("--%s%s", $this->boundary[1], $this->LE);
|
||||
if($disposition == 'part') {
|
||||
$mime[] = sprintf("Content-Type: %s; charset =\"%s\"%s", $type, $this->CharSet, $this->LE);
|
||||
$mime[] = sprintf("Content-Type: %s; charset=\"%s\"%s", $type, $this->CharSet, $this->LE);
|
||||
} else {
|
||||
$mime[] = sprintf("Content-Type: %s; name=\"%s\"%s", $type, $name, $this->LE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user