7.9.2009
As the subject is clear, where/how to change the PHP Return-Path ?
Thanks,
F.
7.9.2009
As the subject is clear, where/how to change the PHP Return-Path ?
Thanks,
F.
For PHP 7.3 you may configure following option in /etc/opt/rh/rh-php73/php.ini
:
mail.force_extra_parameters = "-fsender@example.net"
and restart the service:
systemctl restart rh-php73-php-fpm
Another way would be allowing .htaccess files and set it there.
More information about setting the return path:
https://kitson-consulting.co.uk/blog/correctly-setting-return-path-emails-sent-php