forked from extern/egroupware
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
50c43deec9
commit
6fb84bb8cd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user