[wp-trac] [WordPress Trac] #41750: Update PHPMailer to 6.0

WordPress Trac noreply at wordpress.org
Sat Sep 14 08:14:17 UTC 2019


#41750: Update PHPMailer to 6.0
-------------------------------------------------+-------------------------
 Reporter:  Synchro                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.3
Component:  Mail                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-dev-   |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => has-patch needs-testing needs-dev-note
 * milestone:  Future Release => 5.3


Comment:

 [attachment:"41750.diff"] seems to work in my testing, bumping PHPMailer
 to the [https://github.com/PHPMailer/PHPMailer/releases latest release],
 6.0.7 at the moment.

 Per the [https://stackoverflow.com/questions/45940509/how-should-i
 -upgrade-from-phpmailer-5-2-to-6-0 Stack Overflow thread] and
 [https://github.com/PHPMailer/PHPMailer/blob/6.0/UPGRADING.md upgrading
 notes], the biggest change for us is probably the introduction of the
 `PHPMailer\PHPMailer\PHPMailer` namespace:
 > The reason this class ends up with this "triple name" is because it's
 the PHPMailer class, in the PHPMailer project, owned by the PHPMailer
 organisation. This allows it to be differentiated from other forks of
 PHPMailer, other projects by the PHPMailer organisation, and other classes
 within the project.

 With enough testing and a dev note, I think this can still make it into
 5.3.

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


More information about the wp-trac mailing list