mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 10:02:14 +02:00
Merge pull request #269 from AnrDaemon/patch-2
SMTP::getLastReply() should be populated with last server reply…
This commit is contained in:
commit
a7d3e83b6d
@ -712,7 +712,7 @@ class SMTP
|
||||
}
|
||||
|
||||
if (!in_array($code, (array)$expect)) {
|
||||
$this->last_reply = null;
|
||||
$this->last_reply = $reply;
|
||||
$this->error = array(
|
||||
'error' => "$command command failed",
|
||||
'smtp_code' => $code,
|
||||
|
Loading…
Reference in New Issue
Block a user