diff options
Diffstat (limited to 'Postman/Postman-Mail/Zend-1.12.10/Mail')
-rw-r--r-- | Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php | 2 | ||||
-rw-r--r-- | Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php | 2 |
2 files changed, 2 insertions, 2 deletions
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 a6ebbd5..b71ff10 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 @@ -205,7 +205,7 @@ class Postman_Zend_Mail_Protocol_Smtp extends Postman_Zend_Mail_Protocol_Abstrac $this->_expect(220, 180); 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', 'verify_peer_name', false); stream_context_set_option($this->_socket, 'ssl', 'allow_self_signed', true); if (!stream_socket_enable_crypto($this->_socket, true, STREAM_CRYPTO_METHOD_TLS_CLIENT)) { diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php index e47357a..42004a4 100644 --- a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php +++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php @@ -120,7 +120,7 @@ class Postman_Zend_Mail_Transport_Smtp extends Postman_Zend_Mail_Transport_Abstr if (isset($config['name'])) { $this->_name = $config['name']; } else { - $this->_name = PostmanUtils::getServerIp(); + $this->_name = PostmanUtils::getServerName(); } if (isset($config['port'])) { |