[wp-trac] [WordPress Trac] #35069: Allow short-circuiting wp_mail

WordPress Trac noreply at wordpress.org
Sun Dec 11 10:48:40 UTC 2016

#35069: Allow short-circuiting wp_mail
 Reporter:  DvanKooten                           |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  assigned
 Priority:  low                                  |   Milestone:  4.8
Component:  Mail                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  refresh                                        |
Changes (by swissspidy):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
 * owner:   => swissspidy
 * status:  new => assigned
 * milestone:  Future Release => 4.8


 I do not have that much time in the next 1-2 months but sure :)

 We'll probably end up with something along the lines of
 [attachment:35069.3.diff]. See also this comment by @ericlewis:

 > An alternative mailer should be allowed to fail and return its failure
 as `false`, as `wp_mail()` does.

Ticket URL: <https://core.trac.wordpress.org/ticket/35069#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list