3

Today our website emails the user for every "event" who needs to be notified, but the number of "notifications" is becoming huge, annoying our users with tons of daily emails. Instead, I want to aggregate the notifications and send only one email every day.

I found this project, who seems to be exactly what I need: http://code.google.com/p/django-mailer/

A reusable Django app for queuing and throttling of email sending, scheduled sending, consolidation of multiple notifications into single emails and logging of mail failures.

Sample Use Cases: (...)

  • a user doesn't want individual emails for each notification but wants them in digest form (e.g. a daily digest of new posts or a weekly update on friends who have joined)

(...)

NOTE: Now moved to http://github.com/jtauber/django-mailer/

Looks cool, but there are no code at all doing this at the Github repo and there are no more code at Google Code.

Do you know some alternative? (other than code it myself)

alanjds
  • 3,972
  • 2
  • 35
  • 43
  • Work through the django-mailer code to find out how to aggregate the mail. Might be less work than writing your own. – sdk900 Oct 08 '11 at 02:37
  • So... what's the issue with using Github? – Ignacio Vazquez-Abrams Oct 08 '11 at 03:15
  • I love Github, but the code there seems to do not what the Google Code description says. I read the Github code and found anything related to this feature. Is not broken, is simple not there! – alanjds Oct 11 '11 at 00:57

1 Answers1

1

You'll need some service running in the background, otherwise what would trigger the email batch? I would use django celery email to do this. You'll need to set up celery first.

Matt Williamson
  • 39,165
  • 10
  • 64
  • 72
  • The project docs at Google Code teaches to set some cronjobs. Btw, I prefer to use Celery, who is already set in my environment. – alanjds Oct 11 '11 at 00:59