Commit 855aae823d127373e2e0ebaf3e34a6181b659fd3
1 parent
73d43549
14.06.16
Showing
1 changed file
with
2 additions
and
8 deletions
Show diff stats
common/widgets/Mailer.php
@@ -24,17 +24,11 @@ class Mailer extends Widget{ | @@ -24,17 +24,11 @@ class Mailer extends Widget{ | ||
24 | $mail = new \PHPMailer(); | 24 | $mail = new \PHPMailer(); |
25 | 25 | ||
26 | $mail->IsSMTP(); | 26 | $mail->IsSMTP(); |
27 | - $mail->SMTPOptions = array( | ||
28 | - 'ssl' => array( | ||
29 | - 'verify_peer' => false, | ||
30 | - 'verify_peer_name' => false, | ||
31 | - 'allow_self_signed' => true | ||
32 | - ) | ||
33 | - ); | 27 | + |
34 | $mail->Host = "195.248.225.139"; | 28 | $mail->Host = "195.248.225.139"; |
35 | $mail->SMTPDebug = true; | 29 | $mail->SMTPDebug = true; |
36 | $mail->SMTPAuth = true; | 30 | $mail->SMTPAuth = true; |
37 | - $mail->Port = 25; | 31 | + $mail->Port = 587; |
38 | $mail->CharSet = 'UTF-8'; | 32 | $mail->CharSet = 'UTF-8'; |
39 | $mail->Username = "exrtem"; | 33 | $mail->Username = "exrtem"; |
40 | $mail->Password = "8D3u1E9v"; | 34 | $mail->Password = "8D3u1E9v"; |