Class Based Email for Django, built on Mixins to support many common use cases
All e-mails are based on a BaseEmail class that builds the MultiPartEmail class
that django provides. This means that you can still use any backend you want.
I like [django-ses](https://github.com/hmarr/django-ses), but you may like
Get it from [pipi](https://pypi.python.org/pypi/django-classy-mail/)
The simplest usage of the class is to send a one-off e-mail like this:
from classy_mail.generic import SimpleEmail
#create the email
email = SimpleEmail(subject=u'Welcome to mycoolwebsite',firstname.lastname@example.org', text_content=u'Hello World', from_email=u'Friendly Admin <email@example.com>'')
#Everything gets validated and templated when build_msg is called by send()
#You can check things like send status on the object
Some other mixins to play with:
Applies templates stored in your project templates directories
Using the included TemplatedEmail model, you can store templates in the database instead
Adds the site to the context that will be used to render any template
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.