From d83cd4a06d85ef7263c5f4de04089f1a69f92212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vieira?= <162704766+sudojoao@users.noreply.github.com> Date: Tue, 25 Mar 2025 20:52:24 +0000 Subject: [PATCH] Update PHPMailer.php --- src/PHPMailer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PHPMailer.php b/src/PHPMailer.php index 414117c1..a9868663 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -1548,6 +1548,7 @@ class PHPMailer static::setLE(self::CRLF); } else { //Maintain backward compatibility with legacy Linux command line mailers + //Force PHP_EOL for all mail() calls on Linux static::setLE(PHP_EOL); } //Check for buggy PHP versions that add a header with an incorrect line break