Force EOL on linux
This commit is contained in:
parent
ca476d4d55
commit
e7072c8a72
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue