Simple Email Sender Built in Celery
Imagine your are the admin of this page, so you can add emails, manage them and send them any message you want.
Before using this console, become sure you've already configured both settings.py and tasks.py truly.
Email Subscriber uses Bootstrap4 for its main panel. Once you turned on your network data, all CDNs will be cached up.
Home Page (When your server is up)
You can add new subscribers by writing their emails in the post form. Once you wrote their email, a message appears and the subscribers table will be updated. A really simple footage is right here.
Table updated and success message appeared
In this section, you have a bunch of tools to manage your subscribers.
By clicking this button, you run a celery task which tries to send an email (which you have configured in task.py) to every single subscriber. Once you ran this part, emails will be shown in their inbox as below.
inbox of eali.iken.908w@ordyspost.ga
Other subscribers will get same email in their inbox.
Finally, when the send_email_to_all task operated, you will see such a result in the Celery console. As you see, in last two lines it responsed "I sent emails to all 3 Subscribers".
If you want to remove all Subscribers model records, it's a best choice to use this part. As usual, anytime you press this button, subscribers table will be flushed up and nothing will be longer appeared there.
You may want to setup such a service on your local machine or in production environment. There is no limit. You just need to clone this repo, start configuring and then, you will have a EmailSubscriber in your own platform.
Docs to setup Celery with Django
- Asynchronous Tasks With Django and Celery
- How to Use Celery and RabbitMQ with Django
- Tutorial: Asynchronous Tasks with Django and Celery
How to send emails with core.mail.send_mail
Fork and feed for free (never miss the license) :)

