midgetspy/Sick-Beard — pull request #426 by Slugger (2012-07-04 19:38:12+00:00)
Title: Issue 2035: Add email notifications; add per show email notifications

This patch provides email notifications, with support for TLS and SMTP AUTH. It provides the regular notifications on snatch and download. It provides the ability to give a list of "global" emails, which receive notifications for all shows and it also allows configuration of email notification lists on a per show basis. This addresses Google Code issue 2035. Screenshot attached to that issue.

Tested using Gmail's SMTP server (TLS + SMTP AUTH) and my ISP's SMTP server (no TLS, no AUTH). Both worked as expected.

Tested on my (relatively old) Linux VM (Ubuntu) using python 2.6.5 and Cheetah 2.0.1. Also tested on WinXP using python 2.7.3 and Cheetah 2.4.4.

Changes are pretty standard except I added a new column to the tv_shows table, which stores the list of email addresses configured for each show.