From 373f5e27dcb5b78d5d5af54739b17466f4dcf1ab Mon Sep 17 00:00:00 2001 From: yehudah Date: Wed, 8 Nov 2017 19:37:00 +0000 Subject: * Fix: Self sign certificate * Add: guides section git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1760970 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php | 2 +- Postman/PostmanViewController.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Postman') diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php index e2dade8..a6ebbd5 100644 --- a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php +++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php @@ -204,7 +204,7 @@ class Postman_Zend_Mail_Protocol_Smtp extends Postman_Zend_Mail_Protocol_Abstrac $this->_send('STARTTLS'); $this->_expect(220, 180); - stream_context_set_option($this->_socket, 'ssl', 'verify_peer', true); + stream_context_set_option($this->_socket, 'ssl', 'verify_peer', false); //stream_context_set_option($this->_socket, 'ssl', 'verify_peer_name', false); stream_context_set_option($this->_socket, 'ssl', 'allow_self_signed', true); diff --git a/Postman/PostmanViewController.php b/Postman/PostmanViewController.php index 74f34c5..f9d6d2a 100644 --- a/Postman/PostmanViewController.php +++ b/Postman/PostmanViewController.php @@ -292,7 +292,8 @@ if ( ! class_exists( 'PostmanViewController' ) ) { print ''; } } -- cgit v1.2.3