[wp-trac] [WordPress Trac] #28039: PHPMailer Header Encoding

WordPress Trac noreply at wordpress.org
Sat Apr 26 15:24:04 UTC 2014


#28039: PHPMailer Header Encoding
-------------------------------+------------------------------
 Reporter:  jeremeylduvall     |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Mail               |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by Denis-de-Bernardy):

 * keywords:   => reporter-feedback


Comment:

 Fwiw, email-related RFCs are very much like HTML: where standards-
 compliant HTML in euphemism for whatever tag soup the most common browsers
 will accept to render, standards-compliant for emails is euphemism for
 whatever stream of garbage common email servers and clients will accept to
 route and render.

 In practice, there's a gazillion means to validate an email address — all
 of them incorrect, btw — and another gazillion means to validate an email
 message's format and what not. The entire thing is plagued with string
 encoding bugs and software bugs and what not from one end the other. What
 ultimately counts for emails is whether its recipient will usually manage
 to read it, whether the email address and format are following the RFCs to
 the letter or not.

 I wanted to stress the above points because if e.g. gmail, hotmail, yahoo,
 Outlook, OSX Mail, etc. all render the same WP email correctly, then we
 also need to be pragmatic. For much the same reason that StackOverflow
 recently fixed its [http://meta.stackexchange.com/q/229431/161742
 standards-compliant url encoding], if everyone else accepts WP email
 formats then methinks this bug should probably be reported upstream to the
 email client that does not.

 Conversely, if hardly anybody accepts them, it's a valid bug that WP
 should fix.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28039#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list