Skip to content

Commit

Permalink
MDL-52637 mail: Disabled automatic TLS encryption.
Browse files Browse the repository at this point in the history
  • Loading branch information
scara committed Feb 4, 2016
1 parent 9d5d9c6 commit 074b3dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/phpmailer/moodle_phpmailer.php
Expand Up @@ -52,6 +52,8 @@ public function __construct(){
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;
Expand Down

0 comments on commit 074b3dc

Please sign in to comment.