[wp-trac] [WordPress Trac] #19549: Please remove X-Mailer from class-phpmailer
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 3 19:45:46 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 has-patch |
-----------------------------------+-----------------------
Changes (by MattyRob):
* keywords: 2nd-opinion => 2nd-opinion has-patch
Comment:
How about the following attachment as an update to wp_mail(). It allows
X-Mailer to be set using the headers and also over rides the PHPMailer
default to "WordPress" and the current version number. Same over riding
applies to X-Priority. I've tested it on a basic local install and it
works for me as it stands and I can successfully plug it to. Only thing I
have not tried is making the 2 parameters empty but I suspect that would
need a patch to the PHPMailer code so maybe we should wait for an update
in the external library for that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19549#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list