[wp-trac] [WordPress Trac] #6899: Improve handling of CC and BCC hearer information

WordPress Trac wp-trac at lists.automattic.com
Fri May 2 19:36:52 GMT 2008


#6899: Improve handling of CC and BCC hearer information
-------------------------+--------------------------------------------------
 Reporter:  MattyRob     |       Owner:  anonymous            
     Type:  enhancement  |      Status:  new                  
 Priority:  high         |   Milestone:  2.5.2                
Component:  General      |     Version:  2.5.1                
 Severity:  normal       |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------
 The $phpmailer class is currently used to enable sending of emails through
 the wp_mail function defined in wp-includes/pluggable.php

 The wp_mail function handles some header information before passing the
 rest through the AddCustomHeader function.

 My plugin (subscribe2) uses the BCC header to send an email notification
 to a list of users when a new post is made. RFC 2822
 (http://www.ietf.org/rfc/rfc2822.txt) lists some restriction over the
 character length of any header and I'm not sure if AddCustomHeader deals
 with this limitation.

 By adding some code to pluggable.php we can make better use of the AddCc
 and AddBcc functions to create better email headers.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6899>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list