[wp-trac] [WordPress Trac] #35598: Use different error code for PHPMailer exceptions in wp_mail_failed

WordPress Trac noreply at wordpress.org
Wed Nov 2 04:22:18 UTC 2016


#35598: Use different error code for PHPMailer exceptions in wp_mail_failed
-------------------------------------------------+-------------------------
 Reporter:  Kau-Boy                              |       Owner:
     Type:  defect (bug)                         |  SergeyBiryukov
 Priority:  normal                               |      Status:  reviewing
Component:  Mail                                 |   Milestone:  4.7
 Severity:  normal                               |     Version:  4.4.1
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by helen):

 [attachment:35598.4.diff] seems like a solid change to me, and a quick
 look around plugins leads me to believe it's a safe change. Wish I'd had
 this the last time I was debugging a `wp_mail()` problem :) It's kind of
 an enhancement in some ways I suppose, but still a bug fix, so going in.
 If there's something still lacking with the tests, that can be corrected
 at any time.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35598#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list