Update PHPMailer.php

This commit is contained in:
João Vieira 2025-03-25 20:52:24 +00:00
parent e7072c8a72
commit d83cd4a06d
1 changed files with 1 additions and 0 deletions

View File

@ -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