diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-01-28 09:39:23 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-01-28 09:39:23 +0100 |
commit | a3fa844aad10a63e2cca8ff533f75713cba0dcbe (patch) | |
tree | 4955b1dda68ff901db6a27484c2bff8f8c587366 /program/lib/Roundcube/rcube.php | |
parent | 3b46c965d768c36960709f075c52725afefa7a65 (diff) |
Make logged SMTP errors more verbose - log also real server response and codes
Diffstat (limited to 'program/lib/Roundcube/rcube.php')
-rw-r--r-- | program/lib/Roundcube/rcube.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php index 547e2b4ac..819c7f848 100644 --- a/program/lib/Roundcube/rcube.php +++ b/program/lib/Roundcube/rcube.php @@ -1706,7 +1706,7 @@ class rcube if (!$sent) { self::raise_error(array('code' => 800, 'type' => 'smtp', 'line' => __LINE__, 'file' => __FILE__, - 'message' => "SMTP error: ".join("\n", $response)), TRUE, FALSE); + 'message' => join("\n", $response)), true, false); } } // send mail using PHP's mail() function |