Sunday, March 22, 2020

Re: Django mail

Hi Mike,

On 22/03/2020 11.01, DHRUVA wrote:
> Thanks
> But how to do scheduling of the mails automatically on the basis of the
> events.
>

You might be able to handle this with Django signals:

https://docs.djangoproject.com/en/3.0/topics/signals/

But since you've mentioned you want events to be triggered based on some
timer, you should probably look into Celery integration:

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

I don't have any personal experience with Celery, but I'm sure others
here do and will be happy to help you with any issues you might have.

Kind regards,

Kasper Laudrup

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9fbe9f68-2296-3b6c-5ac8-952e1dde95fd%40stacktrace.dk.

No comments:

Post a Comment