[wp-trac] [WordPress Trac] #19549: Please remove X-Mailer from class-phpmailer

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 3 13:03:14 UTC 2012


#19549: Please remove X-Mailer from class-phpmailer
--------------------------------+-----------------------
 Reporter:  jwz                 |       Owner:  westi
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  3.4
Component:  External Libraries  |     Version:  3.3
 Severity:  minor               |  Resolution:
 Keywords:  2nd-opinion         |
--------------------------------+-----------------------

Comment (by MattyRob):

 With the code in PHPMailer 5.2 would it not be possible to pass
 $phpmailer->XMailer = true to over ride an X-Mailer header being sent with
 the current wp_mail() function plugability? If I get a chance later I'll
 apply the PHPMailer 5.2 patch and see if this works.

 Let's not forget though that out of the box WordPress attaches the
 wp_generator() function to the wp_head() action and thereby brands and
 provides software version details in the source of every rendered page.
 Why are the authors of PHPMailer not allowed to do the same?

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


More information about the wp-trac mailing list