[wp-trac] [WordPress Trac] #18926: Provide with the ability to monitor emailing failures

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 27 15:18:28 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 soulseekah):

 Replying to [comment:7 npetetin]:
 > Good concern and good answer. However, passing the phpMailer object
 allows to give more context and retrieve its attributes (from, to,
 subject, message, etc.) Could passing a less typed set of these attributes
 (associative array?) in addition be the best compromise?

 The inner implementation may change in the future, PHPMailer could be
 switched for something completely different. But we could use the third
 optional {{{ $data }}} parameter of the {{{ WP_Error }}} to pass along the
 relevant data, might be useful indeed.

 How about putting in all the original {{{ $to, $subject, $message,
 $headers = '', $attachments = array() }}} set of data, that is
 implementation independent, isn't it? Any disadvantages?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18926#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list