[wp-trac] [WordPress Trac] #37736: Emails fail on certain server setups
WordPress Trac
noreply at wordpress.org
Sat Aug 20 02:20:05 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):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"38287"]:
{{{
#!CommitTicketReference repository="" revision="38287"
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.
Merges [38286] to the 4.6 branch.
Props Clorith, iandunn, DrewAPicture.
Fixes #37736.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37736#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list