mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
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)
This commit is contained in:
parent
21300696eb
commit
ed68774f22
@ -345,7 +345,7 @@ class SMTP {
|
|||||||
error_log(__METHOD__.' Line:'.__LINE__."->". "SMTP -> FROM SERVER:" . $rply . $this->CRLF );
|
error_log(__METHOD__.' Line:'.__LINE__."->". "SMTP -> FROM SERVER:" . $rply . $this->CRLF );
|
||||||
}
|
}
|
||||||
|
|
||||||
if($code != 354) {
|
if($code != 354 && $code != 250) {
|
||||||
$this->error =
|
$this->error =
|
||||||
array("error" => "DATA command not accepted from server",
|
array("error" => "DATA command not accepted from server",
|
||||||
"smtp_code" => $code,
|
"smtp_code" => $code,
|
||||||
|
Loading…
Reference in New Issue
Block a user