Couldn't you also set up cron jobs to check for some conditions you have
to come up with, which are using the fields of your User model like
date_joined and check, if fields of your user profile are filled in with
respect to the created date of your profile?

I would start with writing some django commands to query those
conditions and send out the email using django send_mail. Those commands
you could then schedule with cron jobs.

https://docs.djangoproject.com/en/3.0/howto/custom-management-commands/
https://docs.djangoproject.com/en/3.0/topics/email/

Antje

On 3/22/20 12:02 PM, DHRUVA wrote:
> Hey thanksĀ 
>
> The events would be like if they haven't verified their profile after
> signup then in 24 hours still not done after 3 days.So then the same
> with the profile build up if they have filled half then a Mail to
> complete.
>
> Thanks
>
> On Sun, 22 Mar, 2020, 4:23 PM Kasper Laudrup, <[email protected]
> <mailto:[email protected]>> wrote:
>
>     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 [email protected]
>     <mailto:django-users%[email protected]>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/django-users/9fbe9f68-2296-3b6c-5ac8-952e1dde95fd%40stacktrace.dk.
>
> -- 
> 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 [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANvoF%2B8G3uRCDUtjvzVJf0-3kaLeETj%2B00kJgJ4bJ2nvOh0c%3DQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANvoF%2B8G3uRCDUtjvzVJf0-3kaLeETj%2B00kJgJ4bJ2nvOh0c%3DQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/84827027-1f55-8085-19e2-a0527ece790e%40gmail.com.

Reply via email to