From ed0c21ad0c733ac1c031ccedc2f76ff428500479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 10 Jun 2016 23:55:57 +0200 Subject: [PATCH] =?UTF-8?q?Si=20l'envoi=20des=20mails=20de=20rappel=20?= =?UTF-8?q?=C3=A9choue,=20on=20le=20sait.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plus précisément, on retire l'option `fail_silently=True` --- bda/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bda/models.py b/bda/models.py index 295e2b65..2ccdf695 100644 --- a/bda/models.py +++ b/bda/models.py @@ -86,7 +86,7 @@ class Spectacle(models.Model): [], headers={'Reply-To': settings.RAPPEL_REPLY_TO}) mails_to_send.append(mail_tot) # On envoie les mails - connection = mail.get_connection(fail_silently=True) + connection = mail.get_connection() connection.send_messages(mails_to_send) # On renvoie la liste des destinataires return members.values()