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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 3 16:09:59 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 nacin):

 Replying to [comment:8 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?

 They are. But as of 5.2, it's now overridable. I'd think that the default
 XMailer should be the same WordPress generator.

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


More information about the wp-trac mailing list