[wp-trac] [WordPress Trac] #33946: Add pointy brackets to recipient adress of email notifications

WordPress Trac noreply at wordpress.org
Wed Jan 6 08:26:05 UTC 2016


#33946: Add pointy brackets to recipient adress of email notifications
-------------------------+------------------------------
 Reporter:  mnaef        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Mail         |     Version:  4.3.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by swissspidy):

 It should be noted that `PHPMailer` is an external class, so we can't
 simply change things there.

 `TO_NO_BRKTS_HTML_ONLY` means: `To: misformatted and HTML only`.

 So one problem is that you're sending HTML emails without a text fallback
 and you're passing misformatted addresses. Instead of `test at example.com`
 it should be `John Doe <test at example.com>` or `test at example.com
 <test at example.com>`. Either formatted email address can be passed to
 `wp_mail()`.

 Related: #17305

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


More information about the wp-trac mailing list