From 9fb2dbb776294d414cc2db7f148c0bab61ceebbf Mon Sep 17 00:00:00 2001 From: Christian Schnegelberger Date: Sun, 6 Nov 2022 21:15:45 +0100 Subject: [PATCH] [ticket/17058] Add $encode_eol to process() PHPBB3-17058 --- phpBB/includes/functions_messenger.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 619907fe2b..27865cbe54 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -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); }