View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021293 | mantisbt | public | 2016-07-16 04:38 | 2018-08-16 03:46 | |
Reporter | kyo88kyo | Assigned To | atrol | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 5.11 |
Product Version | 1.3.0 | ||||
Target Version | 1.3.1 | Fixed in Version | 1.3.1 | ||
Summary | 0021293: Send notifications by smtp does not work correctly, and the analysis of why it happend. | ||||
Description |
the lastest version of mantisbt use phpmailer 5.2.15 as email sender, and this version of phpmailer will try to use tls automatically even if if( !is_blank( config_get( 'smtp_connection_mode' ) ) ) { And it worked now. | ||||
Steps To Reproduce | 1.centos 5.11 x64. | ||||
Tags | No tags attached. | ||||
related to | 0024668 | new | if-else branch:set 'smtp_connection_mode' empty string |
Thanks @kyo88kyo for the detailed analysis. It's questionable to introduce such kind of regressions, but the new behaviour is exactly what the author wanted. Seems we are not alone, there is certainly a reason that there is a note for it in troubleshooting guide.
|
|
Thank you for your reply.@atrol |
|
MantisBT: master-1.3.x b0389ec9 2016-08-08 13:04 Details Diff |
Prevent TLS if smtp_connection_mode is empty (no encryption) Since version 5.2.10 PHPMailer automatically tries to enable TLS. This is not what we want if the Mantis administrator decided not to use encryption (smtp_connection_mode is empty) Fixes 0021293 |
Affected Issues 0021293 |
|
mod - core/email_api.php | Diff File |