r-a-y / bp-reply-by-email

Reply to BuddyPress items from the comfort of your email inbox. Currently in pre-release.
GNU General Public License v2.0
63 stars 9 forks source link

"Reply-To" email header can be wrong in WordPress 5.5 #123

Closed r-a-y closed 4 years ago

r-a-y commented 4 years ago

WordPress 5.5 upgraded their version of PHPMailer to 6.1.6 from 5.2.27.

I previously worked around a weird PHPMailer bug where if the Reply-To email address was too long, the Reply-To email header would be silently dropped:

This workaround is no longer needed in PHPMailer 6 as PHPMailer now defaults to PHP's internal validate email address routine instead of some custom regex pattern. PHPMailer 6 actually introduces problems when using the previous custom header method, so we'll need to revert a portion of the commits listed above find a new solution to fix this.