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

WordPress Trac noreply at wordpress.org
Fri Feb 7 21:54:03 UTC 2020


#41750: Update PHPMailer to 6.0
-------------------------------------------------+-------------------------
 Reporter:  Synchro                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.4
Component:  External Libraries                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-dev-   |     Focuses:
  note early                                     |
-------------------------------------------------+-------------------------

Comment (by Synchro):

 @ayeshrajans your approach sounds pretty sensible to me.

 You only need to `use PHPMailer\PHPMailer\Exception` if you're explicitly
 using exceptions (they are turned off by default). You do still need to
 have the Exception class loaded as even with exceptions disabled it is
 used internally. So long as it's disabled, you shouldn't have any uncaught
 exceptions. Do you have examples where this is a problem?

 Frankly I feel a little unwell at the thought that some might still be
 using the POP3 library! Nobody should be using POP-before-SMTP for auth
 any more - the last time I used it was about 30 years ago. Indeed it
 doesn't have any test coverage - it was originally a third party library
 that was donated to the project, and it's a difficult thing to test as it
 requires coordination across protocols. Do you have any visibility on
 whether it's being used at all?

 Composer, at least in a build system, would seem essential, but WP
 obviously has a lot of BC issues to consider, and I know very little about
 the WP codebase.

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


More information about the wp-trac mailing list