First of all, I'm new to this and I want to do something like this. I want to filter the database records in my project that I created with Django and send them to an e-mail address in a certain format. I have no idea how to do this, can you help me with this?
Asked
Active
Viewed 36 times
-2
-
What do you want to do ? Do you want to send an email every time a record is inserted ? https://docs.djangoproject.com/en/4.1/topics/email/ https://www.sitepoint.com/django-send-email/ I just typed "django email" in google – Arthur Oct 24 '22 at 12:22
-
No I want to post all records on a daily basis. For example I want to send all records on 10/24/2022. – Furkan Yıldız Oct 24 '22 at 12:24
-
checkout django-celery, it allows you to schedule task. You should be able to schedule daily mails with it :p https://pypi.org/project/django-celery/ – Arthur Oct 24 '22 at 12:26
-
Checkout this so question, I think it is a duplicate : https://stackoverflow.com/questions/63552113/gmail-schedule-send-email-in-django – Arthur Oct 24 '22 at 12:28
-
Does this answer your question? [Gmail Schedule Send Email in Django](https://stackoverflow.com/questions/63552113/gmail-schedule-send-email-in-django) – Arthur Oct 24 '22 at 12:28
1 Answers
0
You can use django celery to schedule daily mails.
This SO post answers it pretty well : Gmail Schedule Send Email in Django

Arthur
- 345
- 4
- 10