Commit a3e679bcf1c8bd68c78b1502f710fdbbc6749131
1 parent
92a7c289
14.06.16
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
common/widgets/Mailer.php
| @@ -24,7 +24,13 @@ class Mailer extends Widget{ | @@ -24,7 +24,13 @@ class Mailer extends Widget{ | ||
| 24 | $mail = new \PHPMailer(); | 24 | $mail = new \PHPMailer(); |
| 25 | 25 | ||
| 26 | $mail->IsSMTP(); | 26 | $mail->IsSMTP(); |
| 27 | - | 27 | + $mail->SMTPOptions = array( |
| 28 | + 'ssl' => array( | ||
| 29 | + 'verify_peer' => false, | ||
| 30 | + 'verify_peer_name' => false, | ||
| 31 | + 'allow_self_signed' => true | ||
| 32 | + ) | ||
| 33 | + ); | ||
| 28 | $mail->Host = "195.248.225.139"; | 34 | $mail->Host = "195.248.225.139"; |
| 29 | $mail->SMTPDebug = true; | 35 | $mail->SMTPDebug = true; |
| 30 | $mail->SMTPAuth = 0; | 36 | $mail->SMTPAuth = 0; |