WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #43542


Ignore:
Timestamp:
05/05/2018 10:32:49 AM (15 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43542

    • Property Keywords needs-patch good-first-bug reporter-feedback 2nd-opinion added
  • Ticket #43542 – Description

    initial v5  
    11Issue: Duplicate "MIME-Version" header information can be sent via pluggable.php and class-phpmailer.php via plugins, causing the mail to fail to be delivered when using a service like AWS SMTP that rejects this duplicate header element.
    22
    3 I see that this issue has been reported in the past but closed as an invalid bug (e.g. https://core.trac.wordpress.org/ticket/22492 from 5 years ago).  But I argue that that may not be the correct conclusion.
     3I see that this issue has been reported in the past but closed as an invalid bug (e.g. #22492 from 5 years ago).  But I argue that that may not be the correct conclusion.
    44
    55Wordpress plugin developer guidance on the use of wp_mail() doesn't prohibit including MIME-Version in  $headers , and does otherwise offer to "build the proper Mime header automagically".  I have read an argument online that it may be proper for the plugin to build out the full header including the mandatory MIME-Version in the event the administrator has configured their site to use a different email service besides WP/PHP, though I haven't substantiated that fully.