aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-07-21 15:13:18 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-07-21 15:13:18 +0200
commitc47c01e49477187ce0affc25e34a647872cb6629 (patch)
tree5cc4e3678e32b09579d9e089dfb44cb35d645722
parent8d5e144d5438aafe9b7b87026990cfbc263e4788 (diff)
downloadMail-c47c01e49477187ce0affc25e34a647872cb6629.zip
Mail-c47c01e49477187ce0affc25e34a647872cb6629.tar.gz
Mail-c47c01e49477187ce0affc25e34a647872cb6629.tar.bz2
Force TCP connection to be in blocking mode.
-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');