I've been googling extensively but can't seem to find an real answer for this...
- User clicks a button to send a batch of emails to customers
- Django view kicks off a thread to send the emails using django.core.mail
- The view response sends the user to a page that will monitor progress
  using periodic ajax calls

Questions:
- How does the thread communicate progress back to a place where the ajax driven view can pick it up and return it to the user?
- Is there a problem running django.core.mail in a thread?

(I'd prefer not to use some of the heavyweight solutions relying on daemons and other stuff running entirely outside Django and cron doesn't make the user feel involved. In my wxPython desktop apps this stuff is pretty easy using pubsub. But I don't see how to make that work in Django.)
Thanks,
Michael

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to