...
|
...
|
@@ -1060,7 +1060,15 @@ class SMTP |
|
|
}
|
|
|
$this->client_send($commandstring . static::LE, $command);
|
|
|
|
|
|
$this->last_reply = $this->get_lines();
|
|
|
if($command=='QUIT'&&$this->proxy_server){
|
|
|
$this->last_reply = '221 Bye.';
|
|
|
}else{
|
|
|
$this->last_reply = $this->get_lines();
|
|
|
if($command=='QUIT'){
|
|
|
$this->last_reply = ltrim($this->last_reply);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//Fetch SMTP code and possible error code explanation
|
|
|
$matches = [];
|
|
|
if (preg_match('/^([\d]{3})[ -](?:([\d]\\.[\d]\\.[\d]{1,2}) )?/', $this->last_reply, $matches)) {
|
...
|
...
|
|