Saturday, May 28, 2016

Re: How to send e-mail asynchronously

You can create a celery task fro this. See this link for more details.

http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html



On Saturday, 28 May 2016 19:51:49 UTC+5:30, 2me wrote:
I have to implement a thread in order to test if (temperature>maximmum) it sends an email . 
I have done a python file which reads temperature and as  a begining I have tested an aplication that  sends email when I access to its URL . 
BUt I have no idea how to this into a thread !!! please help me 



 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b1b51b16-2318-4022-9b20-495547931635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment