From ed68774f22910adf6711097d64a555fedf39f2ef Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 6 Sep 2010 08:03:25 +0000 Subject: [PATCH] include 250 in checking the error-codes when sending data, as 250 indicates success -> OK (354 indicates intermediate status, and was the only status checked for) --- phpgwapi/inc/class.smtp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.smtp.php b/phpgwapi/inc/class.smtp.php index e16df7a9f5..8cefb83e11 100644 --- a/phpgwapi/inc/class.smtp.php +++ b/phpgwapi/inc/class.smtp.php @@ -345,7 +345,7 @@ class SMTP { error_log(__METHOD__.' Line:'.__LINE__."->". "SMTP -> FROM SERVER:" . $rply . $this->CRLF ); } - if($code != 354) { + if($code != 354 && $code != 250) { $this->error = array("error" => "DATA command not accepted from server", "smtp_code" => $code,