This application is designed to make the process of sending bulk emails as simple and efficient as possible. It allows users to draft and compile emails using pre-defined templates, schedule emails to be sent at a specific time, and prioritize emails based on importance.
- Draft and compile emails using pre-defined templates
- Schedule emails to be sent at a specific time
- Prioritize emails based on importance
- User authentication and authorization
- Compliance with regulations for sending bulk emails like CAN-SPAM in US and GDPR in EU
- Flask web framework
- SQLite database
- Flask-Login library for handling user authentication and authorization
- smtplib library for sending emails via the Gmail SMTP server
- apscheduler library for scheduling the sending of emails
- Clone the repository
git clone https://github.com/SwasthikaDev/Simple-Bulk-Mail-Sender.git
- Install the required packages
pip install -r requirements.txt
- Create database
python create_tables.py
- Run the application
flask run
- Register for an account or login if you already have one.
- Create a new email template by navigating to
/create
- Preview the template before sending by navigating to
/preview
- Upload a CSV file with recipient information by navigating to
/upload
- Schedule the sending of emails and/or send immediatelyby navigating to
/schedule
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Don't forget to replace gmail_user and gmail_password in config.py with your own credentials.
This code is for demonstration purposes only and should not be used in production environments without proper testing and security measures in place.