[wp-trac] [WordPress Trac] #41750: Update PHPMailer to 6.0
WordPress Trac
noreply at wordpress.org
Sat Feb 8 15:41:37 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):
If you don't enable exceptions in PHPMailer, they shouldn't leak out
because they are either not thrown (for example
[https://github.com/PHPMailer/PHPMailer/blob/master/src/PHPMailer.php#L1067
here], where the function returns false instead) or are caught internally
(like
[https://github.com/PHPMailer/PHPMailer/blob/master/src/PHPMailer.php#L1424
here]).
Are you saying that because you have not loaded PHPMailer's own exception
class, it actually dies with an unknown class error, as opposed to
throwing an exception that's uncaught?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41750#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list