Description:
Mail-ed it is a web application that allows you to manage email subscribers, create email campaigns, and send out email campaigns to your subscribers. This app uses an SQLite3 database for data storage.
Features:
- Add and remove subscribers from your email list.
- Create and manage email campaigns.
- Start and send email campaigns to your subscribers.
Usage:
- Admin Panel:
- Access the admin panel using the superuser credentials created during installation.
- Add subscribers and manage your email list.
- Create and manage email campaigns.
- Endpoints:
The app provides endpoints for managing subscribers and campaigns programmatically.
/add_subscribe
: add new subscribers./unsubscribe
: Set status of subscribers as inactive./add_campaign
: Create email campaigns./send_email
: Send email of a specific campaign to all the "active users"
- SMTP server
For sending emails, I have used mailgun's SMTP server, you can create your own account there, and add SMTP credentials, in settings.py in order to succesfully send emails.
EMAIL_HOST = 'smtp.mailgun.org'
EMAIL_PORT = 587
EMAIL_HOST_USER ='your_mailgun_account_domain'
EMAIL_HOST_PASSWORD = 'yourmailgunaccountpassword'
Configuration:
- The default database used is SQLite3. You can change the database settings in
settings.py
if needed.