spit out a Warning when editing a mailbox without POP OR RECIPIENTS. Fixes #18
This commit is contained in:
parent
9a6cba4ebb
commit
6c6013e147
|
@ -720,6 +720,9 @@ ORDER BY
|
|||
if (isset($red) && $red) {
|
||||
$db->query("INSERT INTO recipient SET address_id=" . $mail_id . ", recipients='" . addslashes($red) . "';");
|
||||
}
|
||||
if (!$islocal && !$red) {
|
||||
$err->raise("mail", _("Warning: you created an email which is not an alias, and not a POP/IMAP mailbox. This is certainly NOT what you want to do. To fix this, edit the email address and check 'Yes' in POP/IMAP account, or set some recipients in the redirection field."));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -5523,3 +5523,6 @@ msgstr "Fichier Real Media"
|
|||
|
||||
#~ msgid "The name you entered is incorrect"
|
||||
#~ msgstr "Le nom que vous avez entré est incorrect"
|
||||
|
||||
msgid "Warning: you created an email which is not an alias, and not a POP/IMAP mailbox. This is certainly NOT what you want to do. To fix this, edit the email address and check 'Yes' in POP/IMAP account, or set some recipients in the redirection field."
|
||||
msgstr "Attention : vous avez créé une adresse email qui n'est ni un alias, ni une boite POP/IMAP. Ce n'est probablement PAS ce que vous vouliez faire. Pour corriger cela, modifiez l'adresse mail, et choisissez 'Oui' dans Compte POP/IMAP ou entrez des destinataires dans le champ redirections."
|
||||
|
|
Loading…
Reference in New Issue