Changes between Initial Version and Version 1 of Ticket #49687, comment 56
- Timestamp:
- 12/05/2025 12:34:51 PM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49687, comment 56
initial v1 1 I should explain that my testing was with a vanilla PHP script (not WordPress) where I simply set the `sendmail_from` configuration directive and executed `mail('me@example.com', 'TEST', 'TEST')`. In this case, the `sendmail_from` configuration was ignored and likely why hosting environments that want to force it to something other than apache@machine_name(or similar) tack the `-f` parameter on to the `sendmail` bin path - since they cannot be sure what clients will actually be running on there.1 I should explain that my testing was with a vanilla PHP script (not WordPress) where I simply set the `sendmail_from` configuration directive and executed `mail('me@example.com', 'TEST', 'TEST')`. In this case, the `sendmail_from` configuration was ignored and likely why hosting environments that want to force it to something other than `apache@machine_name` (or similar) tack the `-f` parameter on to the `sendmail` bin path - since they cannot be sure what clients will actually be running on there. 2 2 3 3 PHPMailer has this bit of code (curiously prefixed by a comment citing old PHP workarounds):