dimagi/dimagi-utils — pull request #35 by mlavin (2012-12-03 21:40:52+00:00)
Title: Update send_HTML_email for Django 1.4

While working on some updates for email-reports I noticed that `send_HTML_email` was using `SMTPConnection` which was deprecated in 1.2 and removed in 1.4. This updates the function to use `get_connection` instead per the docs https://docs.djangoproject.com/en/1.3/topics/email/#django.core.mail.get_connection. It's worth noting that this drops Django 1.1 support.