View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025566 | mantisbt | public | 2019-03-05 00:46 | 2019-10-14 03:40 | |
Reporter | vboctor | Assigned To | dregad | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.19.0 | ||||
Target Version | 2.19.1 | Fixed in Version | 2.19.1 | ||
Summary | 0025566: PHPMailer regressions | ||||
Description | As part of moving to PHP 6.x, the following issues were introduced:
@dregad are the latest PHPMailer releases working for you? | ||||
Tags | No tags attached. | ||||
We should target any fixes for this to |
|
Here is the snippet from the error log: |
|
I haven't proven that TLS is the cause of the 3rd issue. |
|
Here are the PHPMailer 6 upgrade guide: |
|
I have not experienced any issues on my end since I started testing PHPMailer 6 about one year ago. This code has been running on our tracker since November 2018, and I have not noticed any problems there either (I'm receiving notifications every day).
I know, but this is not an issue as PHP Function names are case-insensitive so I didn't think it was worth the effort to adapt the code to the new camelCase naming. I can do it if you want.
I missed those during migration, will fix.
I don't have a config to test this. Can you provide more information / steps to reproduce ? |
|
Sorry I pushed to the wrong remote and source integration picked the commits up and marked the issue as fixed. See PR https://github.com/mantisbt/mantisbt/pull/1475 (does not include fix for TLS issue) |
|
1 & 2 are fixed. Please open a separate issue for 3 with additional details if your TLS issue comes up again. |
|
@dregad It turns out the issue is not related to TLS. But I opened bug 0025582 and opened a corresponding bug in PHPMailer with the fix I found. However, I expect the PHPMailer team to find a better fix. |
|
MantisBT: master-2.19 ab2353cd 2019-03-05 01:58 Details Diff |
Use new namespaced PHPMailer exception Define alias for PHPMailer\Exception as phpmailerException, matching previous usage in the code. Fixes 0025566 |
Affected Issues 0025566 |
|
mod - core/email_api.php | Diff File | ||
MantisBT: master-2.19 14c8334f 2019-03-05 02:02 Details Diff |
Adjust case of PHPMailer method names In PHPMailer 6, functions have been renamed to camelCase, this commit modifies our email API code to use the new names. Issue 0025566 |
Affected Issues 0025566 |
|
mod - core/email_api.php | Diff File |