[wp-trac] [WordPress Trac] #52822: PHPMailer change in WordPress 5.7 breaks working sites

WordPress Trac noreply at wordpress.org
Thu Mar 18 02:48:46 UTC 2021


#52822: PHPMailer change in WordPress 5.7 breaks working sites
--------------------------+---------------------
 Reporter:  tigertech     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.7.1
Component:  Mail          |     Version:  5.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by galbaras):

 Workaround: Use filter instead of php.ini. See
 https://gist.github.com/elfacht/8147504 + replace `$phpmailer->From` on
 line 7 with the desired value.

 Having said that, the logic of this phpMailer change defies me. If anyone
 bothers to set a php.ini value, surely they mean for it to be used.
 @tigertech you might want to argue your case by opening an issue on
 https://github.com/PHPMailer/PHPMailer/issues.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52822#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list