Fix newline email error
This commit is contained in:
parent
545517e85f
commit
b1a402a787
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue