WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52822, comment 2


Ignore:
Timestamp:
03/18/2021 02:52:08 AM (4 months ago)
Author:
galbaras
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52822, comment 2

    initial v1  
    1 Workaround: Use filter instead of php.ini. See https://gist.github.com/elfacht/8147504 + replace `$phpmailer->From` on line 7 with the desired value.
     1Workaround: Use filter instead of php.ini. See https://gist.github.com/elfacht/8147504 + replace `$phpmailer->From` on line 7 with `ini_get( 'sendmail_from' )`.
    22
    33Having 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.