diff --git a/src/Transport/Sendmail.php b/src/Transport/Sendmail.php index aae76f49..97aa315b 100644 --- a/src/Transport/Sendmail.php +++ b/src/Transport/Sendmail.php @@ -139,11 +139,12 @@ public function send(Mail\Message $message) // On *nix platforms, we need to replace \r\n with \n // sendmail is not an SMTP server, it is a unix command - it expects LF + // Should not apply to additional headers per php mail()page. if (PHP_VERSION_ID < 80000 && ! $this->isWindowsOs()) { $to = str_replace("\r\n", "\n", $to); $subject = str_replace("\r\n", "\n", $subject); $body = str_replace("\r\n", "\n", $body); - $headers = str_replace("\r\n", "\n", $headers); + // $headers = str_replace("\r\n", "\n", $headers); } ($this->callable)($to, $subject, $body, $headers, $params);