[wp-trac] [WordPress Trac] #50374: Improve PHPMailer usage

WordPress Trac noreply at wordpress.org
Fri Jun 12 15:59:55 UTC 2020


#50374: Improve PHPMailer usage
--------------------------+-----------------------------
 Reporter:  ayeshrajans   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Related to the ticket #41750

 We finally have PHPMailer 6 in WordPress core. The PHPMailer author
 noticed that there are some improvements in the way we use PHPMailer.

  if you're setting content-type headers and boundaries via
 addCustomHeader, you're using PHPMailer wrong!
 (https://core.trac.wordpress.org/ticket/41750#comment:41)

 I would like to request comments and thoughts on taking a good look at how
 we use PHPMailer. I suspect these outdated patterns were used when
 WordPress had PHPMailer 5.x series. Now that we use PHPMailer 6, we can
 review and improve how we use it.

 PHPMailer 6 upgrade milestone is WordPress 5.5. It would be great if we
 ship these changes with same version.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50374>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list