[wp-trac] [WordPress Trac] #23291: wp_mail should handle phpmailer exceptions instead of ignoring them
WordPress Trac
noreply at wordpress.org
Sun Jan 27 05:34:28 UTC 2013
#23291: wp_mail should handle phpmailer exceptions instead of ignoring them
-------------------------+------------------------------
Reporter: mark-k | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 3.5
Severity: minor | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by rmccue):
What about introducing an extra parameter to `wp_mail()` to enable
`WP_Error`? We already do this in `wp_insert_post()`, and this would
maintain full compatibility with existing WP_Error replacement functions
(we just need to check for `WP_Error` and `false` in the consuming code,
which is no worse than the current situation).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23291#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list