[wp-trac] [WordPress Trac] #37736: Emails fail on certain server setups
WordPress Trac
noreply at wordpress.org
Sat Aug 20 02:16:57 UTC 2016
#37736: Emails fail on certain server setups
-------------------------------------------------+-------------------------
Reporter: Clorith | Owner:
Type: defect (bug) | boonebgorges
Priority: high | Status: closed
Component: Mail | Milestone: 4.6.1
Severity: normal | Version: 4.6
Keywords: has-patch needs-testing has-unit- | Resolution: fixed
tests commit | Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38286"]:
{{{
#!CommitTicketReference repository="" revision="38286"
Mail: Don't set Sender field when setting From.
[38058] changed `wp_mail()` so that it used PHPMailer's `setFrom()`
method rather than setting the From and FromName headers directly. See
behavior of setting the `Sender` field. This causes `mail` to be
called with the `-f` flag, which causes outgoing email to fail on some
server environments.
Props Clorith, iandunn, DrewAPicture.
Fixes #37736.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37736#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list