django-asyncmailer

Async email solution w/ multiple SMTP credentials, load-balancing and blacklist.


License
MIT
Install
pip install django-asyncmailer==1.6.1

Documentation

Django AsyncMailer

https://travis-ci.org/andyfangdz/django-asyncmailer.svg?branch=master

Async email solution w/ multiple SMTP credentials, load-balancing and blacklist.

Installation

To get the latest stable release from PyPi

pip install django-asyncmailer

To get the latest commit from GitHub

pip install -e git+git://github.com/andyfangdz/django-asyncmailer.git#egg=asyncmailer

TODO: Describe further installation steps (edit / remove the examples below):

Add asyncmailer to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'asyncmailer',
)

Add the asyncmailer URLs to your urls.py

urlpatterns = [
    url(r'^asyncmailer/', include('asyncmailer.urls')),
]

Before your tags/filters are available in your templates, load them by using

{% load asyncmailer_tags %}

Don't forget to migrate your database

./manage.py migrate asyncmailer

Usage

TODO: Describe usage or point to docs. Also describe available settings and templatetags.

Contribute

If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
# Install virtualenvwrapper if you haven't:
# sudo pip install virtualenvwrapper
# Edit .bashrc/.zshrc according to:
# http://virtualenvwrapper.readthedocs.io/en/latest/install.html#shell-startup-file
mkvirtualenv -p python2.7 django-asyncmailer
make develop

# Make your feature branch
git co -b feature_branch master

# You can initiate the database and preview the app in the browser

# Django < 1.8:
./manage.py syncdb --all
./manage.py migrate --fake

# Django >= 1.8:
./manage.py migrate

./manage.py runserver

# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

In order to run the tests, simply execute tox. This will install two new environments (for Django 1.8 and Django 1.9) and run the tests against both environments.