fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16453] more on mailer


From: sigurdne
Subject: [Fmsystem-commits] [16453] more on mailer
Date: Fri, 17 Mar 2017 12:38:12 -0400 (EDT)

Revision: 16453
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16453
Author:   sigurdne
Date:     2017-03-17 12:38:12 -0400 (Fri, 17 Mar 2017)
Log Message:
-----------
more on mailer

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.mailer_smtp.inc.php

Modified: trunk/phpgwapi/inc/class.mailer_smtp.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.mailer_smtp.inc.php        2017-03-17 16:16:20 UTC 
(rev 16452)
+++ trunk/phpgwapi/inc/class.mailer_smtp.inc.php        2017-03-17 16:38:12 UTC 
(rev 16453)
@@ -46,7 +46,17 @@
                                $this->Password =  
isset($GLOBALS['phpgw_info']['server']['smtpPassword']) ? 
$GLOBALS['phpgw_info']['server']['smtpPassword'] : '';
                        }
                        
-                   /**
+                   /*
+                        *      
http://stackoverflow.com/questions/26827192/phpmailer-ssl3-get-server-certificatecertificate-verify-failed
+                        */
+                       $this->SMTPOptions = array(
+                               'ssl' => array(
+                                       'verify_peer' => false,
+                                       'verify_peer_name' => false,
+                                       'allow_self_signed' => true
+                               )
+                       );
+                       /**
                     * SMTP class debug output mode.
                     * Options: 0 = off, 1 = commands, 2 = commands and data
                         * (`3`) As DEBUG_SERVER plus connection status




reply via email to

[Prev in Thread] Current Thread [Next in Thread]