From 54b5bf41553746d9a6a9cc3de0c61c654fda8153 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 --- Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Postman/Postman-Mail') 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); -- cgit v1.2.3