0
0
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:
Marcus Bointon 2014-08-25 18:30:12 +02:00
commit a7d3e83b6d

View File

@ -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,