From 3d79308405366cba26fa40109306b8a97682d6db Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 1 Aug 2001 11:10:23 +0000 Subject: [PATCH] This will now return the 521 error whenever the socket is not previously opened. --- phpgwapi/inc/class.network.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.network.inc.php b/phpgwapi/inc/class.network.inc.php index b9fa8e541f..558dfbef36 100644 --- a/phpgwapi/inc/class.network.inc.php +++ b/phpgwapi/inc/class.network.inc.php @@ -145,7 +145,7 @@ function msg2socket($str,$expected_response,&$response) { - if(!$this->socket && substr($expected_response,1,1) == '+') + if(!$this->socket) { return $this->set_error('521','socket does not exist', 'The required socked does not exist. The settings for your mail server may be wrong.');