Skip to content

shea256/emailer

 
 

Repository files navigation

Mitro Emailer

An alternative to emailer2 packaged with Mitro. Like the original script, this also polls a table in the Postgres database to send email.

Why It's Better

  • Configurable
  • Supports SMTP, Mailgun, and Mandrill
  • Handles system interrupts
  • Better templates
  • Intended to be managed by Supervisor

What's Missing

  • A number of templates
  • Unit tests

Requirements

  • Python 2.7 (not tested on 3+)
  • Postgres with development libraries

Install

Install virtualenv

pip install virtualenv

Setup virtualenv and dependencies

./build.sh

Configure

  1. Copy config.ini.example to config.ini
  2. Edit config.ini

Run

build/venv/bin/python emailer.py

About

Re-implementation of the emailer for Mitro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.7%
  • HTML 20.0%
  • Shell 2.3%