mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
change checking admin-credentials to be no longer fatal, just display a info-message with the error
checking admin credentials can fail for many reasons, not just they are wrong :(
This commit is contained in:
parent
a893669641
commit
32ebee7229
@ -1052,8 +1052,13 @@ class admin_mail
|
||||
$account = new Mail\Account($content);
|
||||
if ($account->acc_imap_administration)
|
||||
{
|
||||
$imap = $account->imapServer(true);
|
||||
if ($imap) $imap->checkAdminConnection();
|
||||
try {
|
||||
$imap = $account->imapServer(true);
|
||||
if ($imap) $imap->checkAdminConnection();
|
||||
}
|
||||
catch(\Horde_Imap_Client_Exception $e) {
|
||||
Api\Json\Response::get()->message(lang('Checking admin credentials failed').': '.$e->getMessage(), 'info');
|
||||
}
|
||||
}
|
||||
// test sieve connection, if not called for other user, enabled and credentials available
|
||||
if (!$content['called_for'] && $account->acc_sieve_enabled && $account->acc_imap_username)
|
||||
|
@ -47,9 +47,9 @@
|
||||
<grid width="100%">
|
||||
<columns>
|
||||
<column width="115"/>
|
||||
<column width="200"/>
|
||||
<column width="40%"/>
|
||||
<column width="60"/>
|
||||
<column/>
|
||||
<column width="30%"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="emailadmin_no_single">
|
||||
|
@ -100,6 +100,7 @@ check to receive a notification when the message is read (note: not all clients
|
||||
check to save as calendar event on send mail de Nach dem Versenden als Termin erstellen
|
||||
check to save as infolog on send mail de Nach dem Versenden als InfoLog erstellen
|
||||
check to save as tracker entry on send mail de Nach dem Versenden als Ticket erstellen
|
||||
checking admin credentials failed mail de Überprüfung der Admin-Zugangsdaten fehlgeschlagen
|
||||
choose file mail de Datei
|
||||
common acl mail de Berechtigung
|
||||
compose mail de Verfassen
|
||||
|
@ -100,6 +100,7 @@ check to receive a notification when the message is read (note: not all clients
|
||||
check to save as calendar event on send mail en Check button to create as event after sending
|
||||
check to save as infolog on send mail en Check button to create as InfoLog after sending
|
||||
check to save as tracker entry on send mail en Check button to create as ticket after sending
|
||||
checking admin credentials failed mail en Checking admin credentials failed
|
||||
choose file mail en Choose file
|
||||
common acl mail en Common access rights
|
||||
compose mail en Compose
|
||||
|
Loading…
Reference in New Issue
Block a user