MDL-52637 mail: Disabled automatic TLS encryption.
This commit is contained in:
committed by
Matteo Scaramuccia
parent
22fa1056d7
commit
c577e1af6a
@@ -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