Fix newline email error

This commit is contained in:
Philipp Holzer 2020-09-22 21:08:34 +02:00
parent 545517e85f
commit b1a402a787
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
1 changed files with 2 additions and 2 deletions

View File

@ -137,10 +137,10 @@ class Email implements IEmail
foreach ($this->additionalMailHeader as $name => $values) {
if (is_array($values)) {
foreach ($values as $value) {
$headerString .= $name . ': ' . $value . '\n';
$headerString .= "$name : $value\n";
}
} else {
$headerString .= $name . ': ' . $values . '\n';
$headerString .= "$name : $values\n";
}
}
return $headerString;