[ticket/17058] Add $encode_eol to process()

PHPBB3-17058
This commit is contained in:
Christian Schnegelberger 2022-11-06 21:15:45 +01:00 committed by Marc Alexander
parent 6f034c5215
commit 9fb2dbb776
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -952,6 +952,7 @@ class queue
}
else
{
$encode_eol = $config['smtp_delivery'] || PHP_VERSION_ID >= 80000 ? "\r\n" : PHP_EOL;
$result = phpbb_mail($to, $subject, $msg, $headers, $encode_eol, $err_msg);
}