From b1a402a787821e33d16c279eef371335e07b017e Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 22 Sep 2020 21:08:34 +0200 Subject: [PATCH] Fix newline email error --- src/Object/Email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Object/Email.php b/src/Object/Email.php index 9f7876312..008e68c4b 100644 --- a/src/Object/Email.php +++ b/src/Object/Email.php @@ -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;