Merge branch 'm31_MDL-52637_Disable_Automatically_Enabling_TLS_Encryption' of https://github.com/scara/moodle
This commit is contained in:
@@ -52,6 +52,8 @@ class moodle_phpmailer extends PHPMailer {
|
||||
global $CFG;
|
||||
$this->Version = 'Moodle '.$CFG->version; // mailer version
|
||||
$this->CharSet = 'UTF-8';
|
||||
// MDL-52637: Disable the automatic TLS encryption added in v5.2.10 (9da56fc1328a72aa124b35b738966315c41ef5c6).
|
||||
$this->SMTPAutoTLS = false;
|
||||
|
||||
if (!empty($CFG->smtpauthtype)) {
|
||||
$this->AuthType = $CFG->smtpauthtype;
|
||||
|
||||
Reference in New Issue
Block a user