aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-08-28 09:44:59 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-08-28 09:44:59 +0200
commit473ba2645aa0b8c6d267098511f3729b2aa35a7e (patch)
treec894086328ea4b581bfdffc1166a5bd83892fa85
parent7b12ad8e85594d53a54d6b1e12503cdf1cf53c59 (diff)
parentc47c01e49477187ce0affc25e34a647872cb6629 (diff)
downloadMail-473ba2645aa0b8c6d267098511f3729b2aa35a7e.zip
Mail-473ba2645aa0b8c6d267098511f3729b2aa35a7e.tar.gz
Mail-473ba2645aa0b8c6d267098511f3729b2aa35a7e.tar.bz2
Force TCP connection to be in blocking mode for SMTP.
-rw-r--r--Transport/Smtp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Transport/Smtp.php b/Transport/Smtp.php
index 2d4d7b8..45bf7c7 100644
--- a/Transport/Smtp.php
+++ b/Transport/Smtp.php
@@ -207,6 +207,7 @@ class Smtp implements ITransport\Out
$client = $this->getClient();
$client->connect();
+ $client->setStreamBlocking(true);
$this->ifNot(220, 'Not able to connect to the server');