Si l'envoi des mails de rappel échoue, on le sait.
Plus précisément, on retire l'option `fail_silently=True`
This commit is contained in:
parent
8054e20cce
commit
ed0c21ad0c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Spectacle(models.Model):
|
||||||
[], headers={'Reply-To': settings.RAPPEL_REPLY_TO})
|
[], headers={'Reply-To': settings.RAPPEL_REPLY_TO})
|
||||||
mails_to_send.append(mail_tot)
|
mails_to_send.append(mail_tot)
|
||||||
# On envoie les mails
|
# On envoie les mails
|
||||||
connection = mail.get_connection(fail_silently=True)
|
connection = mail.get_connection()
|
||||||
connection.send_messages(mails_to_send)
|
connection.send_messages(mails_to_send)
|
||||||
# On renvoie la liste des destinataires
|
# On renvoie la liste des destinataires
|
||||||
return members.values()
|
return members.values()
|
||||||
|
|
Loading…
Reference in a new issue