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

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 27 17:48:07 UTC 2011


#19549: Please remove X-Mailer from class-phpmailer
--------------------------------+------------------------------
 Reporter:  jwz                 |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  3.3
 Severity:  minor               |  Resolution:
 Keywords:  2nd-opinion         |
--------------------------------+------------------------------
Changes (by nacin):

 * component:  Mail => External Libraries


Comment:

 I have to agree with jwz. This is pretty lame.

 This branding is a side effect of using a third-party library. Looking at
 the code, there's no way for us to overload and remove these headers
 without just hacking their core file. (Which I'm not objecting to.)

 PHPMailer has been taken over and forked onto Google Code, so 5.1 is no
 longer the latest version.

 See [http://phpmailer.worxware.com/ the announcement],
 [http://code.google.com/a/apache-extras.org/p/phpmailer/source/list the
 new repo on Google Code], [http://sourceforge.net/projects/phpmailer/ the
 old repo on SourceForge].

 5.2 introduces an `$this->XMailer` property, that when set will work in
 place of the PHPMailer one. X-Priority remains overridable.

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


More information about the wp-trac mailing list