Force EOL on linux

This commit is contained in:
João Vieira 2025-03-25 20:51:29 +00:00
parent ca476d4d55
commit e7072c8a72
1 changed files with 1 additions and 1 deletions

View File

@ -1541,7 +1541,7 @@ class PHPMailer
{
if (
'smtp' === $this->Mailer
|| ('mail' === $this->Mailer && (\PHP_VERSION_ID >= 80000 || stripos(PHP_OS, 'WIN') === 0))
|| ('mail' === $this->Mailer && stripos(PHP_OS, 'WIN') === 0)
) {
//SMTP mandates RFC-compliant line endings
//and it's also used with mail() on Windows