Bug #80706 [NEW]: HTML Emails Mangled with only one recipient

From: Date: Wed, 03 Feb 2021 20:09:14 +0000
Subject: Bug #80706 [NEW]: HTML Emails Mangled with only one recipient
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-231938@lists.php.net to get a copy of this message
From: josh at dirxion dot com Operating system: Windows 2016 Std PHP version: 7.4.14 Package: Mail related Bug Type: Bug Bug description:HTML Emails Mangled with only one recipient Description: ------------ I suspect bug ID 72964 may be related to this issue. With the release of PHP 7.4.14 we are experiencing an issue with our web email forms being processed. It seems to mangle the HTML formatting when there is only one email address. I have verified the problem does not exists in version 7.4.13 and that if I provide multiple addresses the mangled HTML email content problem goes away. 7.4.14 email example https://blogs.dirxion.com/tmp/examplebad.eml 7.4.13 email example https://blogs.dirxion.com/tmp/examplegood.eml Test script: --------------- 'Bcc: '. $VariableEmailGroup . "\r\n" . If we add on a 2nd email address to the same syntax, the HTML formatting of the email is preserved properly. The problem is we don't want to list out multiple email addresses. 'Bcc: ' . $VariableEmailGroup . ", \r\n\tuseremail@thisworksok.com\r\n" . I will update with more details of what the variable value is once I receive an internal response. -- Edit bug report at https://bugs.php.net/bug.php?id=80706&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80706&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80706&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80706&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80706&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80706&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80706&r=support Expected behavior: https://bugs.php.net/fix.php?id=80706&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80706&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80706&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80706&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80706&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80706&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80706&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80706&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80706&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80706&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80706&r=mysqlcfg

« previous php.bugs (#231938) next »