From 7c8c2b8cf06c1e27239fe3851953c9acf48bf5b6 Mon Sep 17 00:00:00 2001 From: Christian Kraus Date: Tue, 29 Nov 2016 02:27:33 +0330 Subject: [PATCH] Fix argument handling that prevented SecureSocketConnector from working --- src/SMTP/Connector/SecureSocketConnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMTP/Connector/SecureSocketConnector.php b/src/SMTP/Connector/SecureSocketConnector.php index 2bd7b8a..dec56da 100644 --- a/src/SMTP/Connector/SecureSocketConnector.php +++ b/src/SMTP/Connector/SecureSocketConnector.php @@ -18,7 +18,7 @@ class SecureSocketConnector extends SocketConnector */ public function __construct($host, $port = 25, $crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT) { - parent::__construct($this->host, $port); + parent::__construct($host, $port); $this->crypto_method = $crypto_method; }