thestudent
thestudent

Reputation: 251

Time Based Reminder Email in Django

I want incorporate a timed based reminder email of the events for the day in django. Basically I have a model which has all the events (including the date of the event). I want to send emails to concerned people at around 8.00 AM in the morning of each day about the events for the day. How do I incorporate this is django?

Thanks

Upvotes: 2

Views: 2056

Answers (2)

fish2000
fish2000

Reputation: 4435

I wrote a database-backed email queue, to send out emails from a single django install and not have to worry about SMTP throttling and whatnot. It's dead simple -- one model class for the email with a sendit() method, and a command-line script to flush the queue, which I run with cron.

http://gist.github.com/629663

Upvotes: 0

Steve Jalim
Steve Jalim

Reputation: 12195

I reckon a custom management command to send the alerts, commanded by django-chronograph should do the trick

Upvotes: 2

Related Questions