mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
send reset command after failure while failing when adding addresses
This commit is contained in:
parent
6362e257b1
commit
54b2596ff8
@ -576,6 +576,7 @@ class SMTP {
|
||||
}
|
||||
|
||||
if($code != 250) {
|
||||
$this->Reset();
|
||||
$this->error =
|
||||
array("error" => "MAIL not accepted from server",
|
||||
"smtp_code" => $code,
|
||||
@ -671,6 +672,7 @@ class SMTP {
|
||||
}
|
||||
|
||||
if($code != 250 && $code != 251) {
|
||||
$this->Reset();
|
||||
$this->error =
|
||||
array("error" => "RCPT not accepted from server",
|
||||
"smtp_code" => $code,
|
||||
|
Loading…
Reference in New Issue
Block a user