mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +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 );
|
||||
}
|
||||
|
||||
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