Remove whitespace before ":" of mail headers

This commit is contained in:
Philipp 2020-09-28 19:22:29 +02:00
parent 7252e0b37c
commit 30bc65e81e
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
2 changed files with 6 additions and 6 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;