网上论坛
登录
网上论坛
Django users
会话
关于
发送反馈
帮助
How to send e-mail asynchronously
已查看 58 次
跳至第一个未读帖子
2me
未读,
2016年5月28日 10:21:49
2016/5/28
回复作者
登录即可回复作者
转发
登录即可转发
删除
您无权在此群组中删除帖子
复制链接
举报消息
显示原始帖子
要么此群组的电子邮件地址为匿名状态,要么您得查看成员电子邮件地址权限才能查看原始帖子
收件人 Django users
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
Akhil Lawrence
未读,
2016年5月28日 22:15:50
2016/5/28
回复作者
登录即可回复作者
转发
登录即可转发
删除
您无权在此群组中删除帖子
复制链接
举报消息
显示原始帖子
要么此群组的电子邮件地址为匿名状态,要么您得查看成员电子邮件地址权限才能查看原始帖子
收件人 Django users
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
Luis Zárate
未读,
2016年5月28日 23:12:20
2016/5/28
回复作者
登录即可回复作者
转发
登录即可转发
删除
您无权在此群组中删除帖子
复制链接
举报消息
显示原始帖子
要么此群组的电子邮件地址为匿名状态,要么您得查看成员电子邮件地址权限才能查看原始帖子
收件人 django...@googlegroups.com
I wrote something for send async notification that works with celery
https://github.com/luisza/async_notifications
There is a demo project and some ideas about how to implement it.
If you like you can use it and if you want to extend do it and let me know for incorporate you're code.
> --
> 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...@googlegroups.com
.
> To post to this group, send email to
django...@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
.
>
--
"La utopía sirve para caminar"
Fernando Birri
回复全部
回复作者
转发
0 个新帖子