Skip to main content

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

Project description

Home-page: https://github.com/andyfangdz/django-asyncmailer
Author: Dezhi “Andy” Fang
Author-email: andyfang.dz@gmail.com
License: The MIT License
Description-Content-Type: UNKNOWN
Description: Django AsyncMailer
============
.. image:: https://travis-ci.org/andyfangdz/django-asyncmailer.svg?branch=master
:target: https://travis-ci.org/andyfangdz/django-asyncmailer
Async email solution w/ multiple SMTP credentials, load-balancing and blacklist.

Installation
------------

To get the latest stable release from PyPi

.. code-block:: bash

pip install django-asyncmailer

To get the latest commit from GitHub

.. code-block:: bash

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``

.. code-block:: python

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

Add the ``asyncmailer`` URLs to your ``urls.py``

.. code-block:: python

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

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

.. code-block:: html

{% load asyncmailer_tags %}


Don't forget to migrate your database

.. code-block:: bash

./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

.. code-block:: bash

# 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.

Keywords: django,async,email
Platform: OS Independent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-asyncmailer-1.5.1.tar.gz (18.5 kB view hashes)

Uploaded Source

Built Distribution

django_asyncmailer-1.5.1-py2.py3-none-any.whl (23.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page