Skip to content

Commit 8992eaf

Browse files
authored
Merge pull request #9 from hanzi/secure-socket-connector-fix
Repair SecureSocketConnector
2 parents 7da1f94 + 7c8c2b8 commit 8992eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SMTP/Connector/SecureSocketConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class SecureSocketConnector extends SocketConnector
1818
*/
1919
public function __construct($host, $port = 25, $crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT)
2020
{
21-
parent::__construct($this->host, $port);
21+
parent::__construct($host, $port);
2222

2323
$this->crypto_method = $crypto_method;
2424
}

0 commit comments

Comments
 (0)