[wp-trac] [WordPress Trac] #49687: wp_mail() - Why is no envelope sender defined?
WordPress Trac
noreply at wordpress.org
Fri Dec 5 07:58:10 UTC 2025
#49687: wp_mail() - Why is no envelope sender defined?
--------------------------------------------------+-----------------------
Reporter: vbbp | Owner: SirLouen
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.9
Component: Mail | Version: 5.4
Severity: major | Resolution: fixed
Keywords: has-test-info has-patch has-dev-note | Focuses:
--------------------------------------------------+-----------------------
Comment (by jamieburchell):
Replying to [comment:46 SirLouen]:
> 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`).
`sendmail_from` is a Windows only configuration option. Hence the need to
add `-f` to the sendmail path in Linux.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49687#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list