Dependencies:
BeautifulSoup

Description:
This package is used for sending multipart emails in django, useful when
sending html like emails. Images and a txt version of the mail, are
attached to the given mail.


Example usage:

from mimemail import MultipartEmail

subject = "SUBJECT HERE"

# Looks for filename with .html and .txt extensions in TEMPLATE_DIRS 
template_name = "template"

from_email = "from@example.com"
to_email = "to@example.com"
context = {}
extra_images = {}

mail = MultipartEmail(subject=subject, template=template_name,from_email=from_email,to=[to_email], extra_images=extra_images, context=context)
mail.send()

