[wp-trac] [WordPress Trac] #12728: Duplicate mime headers in MS activation emails

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 27 07:27:27 UTC 2010


#12728: Duplicate mime headers in MS activation emails
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Mail          |     Version:           
 Severity:  normal        |    Keywords:  multisite
--------------------------+-------------------------------------------------
 Original MU ticket: http://trac.mu.wordpress.org/ticket/1121

 From barry:
 >PHPMailer *should* detect the presence of an existing MIME-Type header
 and not add a new one. If you were/are using an old version of wp_mail()
 however, which also set an explicit MIME-Type header (pre
 http://core.trac.wordpress.org/changeset/5764), you end up with duplicate
 headers before ever getting to PHPMailer. PHPMailer does not remove
 headers, so you end up with dupe headers in your email. I don't really see
 any good reason to set explicit MIME-Type headers in the calling function,
 and I think they should be removed. Patch attached.

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


More information about the wp-trac mailing list