Skip to main content

A reusable Django app for composing and queueing emails Adds django-mailer2 + django-mailviews + others

Project description

===============
django_yubin
===============

Django Yubin is used to queue e-mails. This allows the emails to be sent
asynchronously (by the use of a command extension) rather than blocking the
response.

It also provides with some classes that allows you to compose e-mails in the same way you compose your django
templates, using different templates for subject, body and html content.

.. toctree::

install
queue
mailviews
settings
contributing

It's a fork!
=============

Yes, it's a fork, fork, comes from django-mailer-2 fork which is a fork form Chris Beaven fork to of James Tauber's
`django-mailer`__

This document is readthedocs version of the fork that Chris and James made
the original document with some additional information.

.. __: http://github.com/jtauber/django-mailer

History
-------

Chris Beaven started a fork of django-mailer and it got to the point when it
would be rather difficult to merge back. The fork was then renamed to the
completely unimaginative "django mailer 2".

As always found myself using this project with the mailviews__ classes, we
adapted some of the mailviews to add priority and some convenience classes.

.. __: https://github.com/disqus/django-mailviews


Differences
-----------

Some of the larger differences in django_yubin:

* Needs Django 1.9+

* It saves a rendered version of the email instead - so HTML and other
attachments are handled fine

* The models were completely refactored for a better logical separation of
data.

* It provides a hook to override (aka "monkey patch") the Django ``send_mail``,
``mail_admins`` and ``mail_manager`` functions.

* Added a management command to remove old e-mails, so the database does not
increase so much.

* Added a new testing procedure, so you can run the tests without having to
install and configure a Django application.

* Added some cron templates ein `bin` folder to help you to configure the
cron.

* Improved admin configuration.

* Added a demo project, which shows how we can retrieve an email stored in
the database and shows django-mailer in the admin.

* Integrated django-mailviews classes

* Added to CI and code coverage.

Credit
------

At the time of the fork, the primary authors of django-mailer were James Tauber
and Brian Rosner. The additional contributors included Michael Trier, Doug
Napoleone and Jannis Leidel.

Original branch and the django-mailer-2 hard work comes from Chris Beaven.

django-mailviews from Disqus

The name django-yubin was suggested by @morenosan, he says it means "postal mail" in japanesse, but who knows! :)




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-yubin-1.3.1.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

django_yubin-1.3.1-py2.py3-none-any.whl (42.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-yubin-1.3.1.tar.gz.

File metadata

  • Download URL: django-yubin-1.3.1.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for django-yubin-1.3.1.tar.gz
Algorithm Hash digest
SHA256 50147bab2aa78d9f39fe8f4f93319726c5eecdbcbe57b5d5255ea705c3b551e4
MD5 db73934d1d16d79166f61a85fe725779
BLAKE2b-256 5c3f905ba9e23021cde6a5a75b610d385aa0ce9e63ce1cb6fe1a4d8687366699

See more details on using hashes here.

File details

Details for the file django_yubin-1.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_yubin-1.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for django_yubin-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe12f811796b4e01f4ba426f1bd16cbbac3a27601e602598524839da5b110df0
MD5 3524e0e6f6a9420b5e6f44e29422a0cd
BLAKE2b-256 93ced58e6431fdd9c2708cd4f8307dde73255f95ac218216e97b74fd10b51d5f

See more details on using hashes here.

Supported by

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