An alternative to emailer2 packaged with Mitro. Like the original script, this also polls a table in the Postgres database to send email.
- Configurable
- Supports SMTP, Mailgun, and Mandrill
- Handles system interrupts
- Better templates
- Intended to be managed by Supervisor
- A number of templates
- Unit tests
- Python 2.7 (not tested on 3+)
- Postgres with development libraries
Install virtualenv
pip install virtualenv
Setup virtualenv and dependencies
./build.sh
- Copy
config.ini.example
toconfig.ini
- Edit
config.ini
build/venv/bin/python emailer.py