2
0
forked from Wavyzz/dolibarr

FIX Better error message with IMAP when connection fails

This commit is contained in:
Laurent Destailleur
2020-12-03 11:16:02 +01:00
parent 589da1d4b9
commit 0fd865d8af

View File

@@ -448,6 +448,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
if (!$connection)
{
$morehtml .= 'Failed to open IMAP connection '.$connectstringsource;
$morehtml .= '<br>'.imap_last_error();
}
else
{