diff --git a/apps/emencia/django/newsletter/mailer.py b/apps/emencia/django/newsletter/mailer.py index 04517fe7..d0a1b2eb 100644 --- a/apps/emencia/django/newsletter/mailer.py +++ b/apps/emencia/django/newsletter/mailer.py @@ -560,7 +560,7 @@ class NewsLetterSender(object): print >>sys.stderr, 'smtp connection raises %s' % exception status = ContactMailingStatus.ERROR - if self.newsletter.dailymail and status in [ContactMailingStatus.SENT_TEST, ContactMailingStatus.SENT, ContactMailingStatus.INVALID]: + if self.newsletter.dailymail and status in [ContactMailingStatus.SENT_TEST, ContactMailingStatus.SENT, ContactMailingStatus.ERROR]: contact.last_mailing_date = datetime.now().date() contact.save() params = {