开发者

Is there a Django app to aggregate/consolidate notifications to be mailed at once?

开发者 https://www.devze.com 2023-04-11 08:42 出处:网络
Today our website emails the user for every \"event\" who needs to be notified, but the number of \"notificatio开发者_StackOverflow中文版ns\" is becoming huge, annoying our users with tons of daily em

Today our website emails the user for every "event" who needs to be notified, but the number of "notificatio开发者_StackOverflow中文版ns" 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)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消