Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #49687, comment 48


Ignore:
Timestamp:
12/05/2025 08:03:29 AM (6 months ago)
Author:
jamieburchell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49687, comment 48

    v1 v2  
    33> If the user has the `sendmail_from` set in his `php.ini`, PHPMailer should overwrite it. But if they are forcing the `-f` in the `sendmail_path` this is a complete misconfiguration of the server (because for this purpose, there is a `sendmail_from`).
    44
    5 `sendmail_from` is a Windows only configuration option. Hence the need to add `-f` to the sendmail path in Linux.
     5`sendmail_from` is a Windows only configuration option. Hence the need to add `-f` to the sendmail path in Linux:
    66
    77> sendmail_from string
    88> Which "From:" mail address should be used in mail sent directly via SMTP (Windows only). This directive also sets the "Return-Path:" header.
     9
     10https://www.php.net/manual/en/mail.configuration.php#ini.sendmail-from