[wp-trac] [WordPress Trac] #39360: wp_mail throws a phpmailerException when the sender address is incorrect
WordPress Trac
noreply at wordpress.org
Fri Dec 30 06:43:08 UTC 2016
#39360: wp_mail throws a phpmailerException when the sender address is incorrect
--------------------------+---------------------
Reporter: xknown | Owner: dd32
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.8
Component: Mail | Version: 4.6.1
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------
Changes (by dd32):
* owner: => dd32
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"39655"]:
{{{
#!CommitTicketReference repository="" revision="39655"
Mail: Ensure that any `phpmailerException` exceptions generated by
`setFrom()` are caught to avoid PHP Fatal errors.
This change avoids a PHP fatal error that can be encountered when the
specified (or generated) source email is an invalid address, such as
`wordpress at _`, it makes no effort to set a valid source, only avoid the
fatal error.
See #25239 for correcting the email address.
Fixes #39360.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39360#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list