diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc index 256a33bc0..f1402742e 100644 --- a/program/include/rcube_smtp.inc +++ b/program/include/rcube_smtp.inc @@ -112,7 +112,7 @@ function smtp_mail($from, $recipients, &$headers, &$body, &$response) if (PEAR::isError($result)) { smtp_reset(); - $response[] .= "Authentication failure: ".$result->getMessage(); + $response[] .= 'Authentication failure: ' . $result->getMessage() . ' (Code: ' . $result->getCode() . ')'; return FALSE; } }