[wp-trac] [WordPress Trac] #18926: Provide with the ability to monitor emailing failures
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 27 16:10:50 UTC 2012
#18926: Provide with the ability to monitor emailing failures
-------------------------+-----------------------------
Reporter: npetetin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Mail | Version: 3.2.1
Severity: minor | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Comment (by scribu):
First of all, the action should be called 'wp_mail_failed', to be
consistent with 'wp_loaded' and others.
Most emails are sent during a POST action, which is usually followed by a
redirect, so I don't see the point in calling trigger_error().
Even if we were to call trigger_error(), it should be through a callback
hooked into 'wp_mail_failed', so that it's easy for plugins to disable.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18926#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list