-
Bug
-
Resolution: Fixed
-
Major
-
3.3.5
-
None
After a recent upgrade to phpBB version 3.3.5, my cPanel-based provider began rejecting emails. Here is an excerpt from an account activation message for forum user "foo@bar" with email address xxx+foo@gmail.com:
A message that you sent contained one or more recipient addresses that were
|
incorrectly constructed:
|
|
=?US-ASCII?Q?foo@bar?= <xxx+foo@gmail.com>: malformed address: ?= <xxx+foo@gmail.com> may not follow =?US-ASCII?Q?foo@bar
|
|
This address has been ignored. There were no other addresses in your
|
message, and so no attempt at delivery was possible.
|
After applying the following hack, clearing cache, and forcing reactivation, the resulting email arrived without incident:
*** functions_messenger.php.orig Fri Dec 10 14:43:05 2021
|
--- functions_messenger.php Fri Dec 10 15:00:01 2021
|
***************
|
*** 1855,1860 ****
|
--- 1855,1861 ----
|
{
|
// Check if string contains ASCII only characters
|
$is_ascii = strlen($str) === utf8_strlen($str);
|
+ $is_ascii = false;
|
|
// Define start delimimter, end delimiter and spacer
|
// Use the Quoted-Printable encoding for ASCII strings to avoid unnecessary encoding in Base64
|
- was caused by solution of
-
PHPBB-15729 Don't unnecessarily encode email headers in Base64
- Unverified Fix