From 4a52eea793af992628785d9bc8af866c2d59b6fe Mon Sep 17 00:00:00 2001 From: oheil Date: Sun, 5 Mar 2023 20:10:16 +0100 Subject: [PATCH] removed experimental code --- webmail/classes/class_smtp.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webmail/classes/class_smtp.php b/webmail/classes/class_smtp.php index 162397f..26e02d8 100644 --- a/webmail/classes/class_smtp.php +++ b/webmail/classes/class_smtp.php @@ -14,7 +14,7 @@ * * @package NOCC * @license http://www.gnu.org/licenses/ GNU General Public License - * @version SVN: $Id: class_smtp.php 3060 2023-03-05 19:06:00Z oheil $ + * @version SVN: $Id: class_smtp.php 3061 2023-03-05 19:10:10Z oheil $ */ require_once 'exception.php'; @@ -105,9 +105,6 @@ class smtp { stream_context_set_option($context, "ssl", "security_level", $conf->domains[$domainnum]->smtp_security_level); } - //stream_context_set_option($context, "ssl", "peer_name", "localdomain"); - //stream_context_set_option($context, "ssl", "security_level", 0); - $remote_socket=$this->smtp_server.":".$this->port; $smtp=stream_socket_client($remote_socket,$errno,$errstr,ini_get("default_socket_timeout"),STREAM_CLIENT_CONNECT,$context); if (!$smtp)