Metadata-Version: 2.4
Name: django-email-log
Version: 1.5.0
Summary: Django email backend that logs all emails
Author-email: Trey Hunner <trey@treyhunner.com>
Project-URL: Homepage, https://github.com/treyhunner/django-email-log
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: Django>=2.2.0
Provides-Extra: build
Requires-Dist: build; extra == "build"
Requires-Dist: twine; extra == "build"
Provides-Extra: docs
Requires-Dist: Sphinx; extra == "docs"
Provides-Extra: test
Requires-Dist: coverage; extra == "test"
Requires-Dist: django-anymail; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-django; extra == "test"
Requires-Dist: tox; extra == "test"
Dynamic: license-file

================
django-email-log
================

.. image:: https://img.shields.io/pypi/v/django-email-log.svg
   :target: https://pypi.org/project/django-email-log/
   :alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/django-email-log
   :target: https://pypi.org/project/django-email-log
   :alt: Python Version
.. image:: https://img.shields.io/pypi/djversions/django-email-log
   :target: https://pypi.org/project/django-email-log
   :alt: Django Version
.. image:: https://img.shields.io/readthedocs/django-email-log/latest.svg?label=Read%20the%20Docs
   :target: https://django-email-log.readthedocs.io/
   :alt: Read the documentation at https://django-email-log.readthedocs.io/
.. image:: https://github.com/treyhunner/django-email-log/workflows/Tests/badge.svg
   :target: https://github.com/treyhunner/django-email-log/actions?workflow=Tests
   :alt: Tests
.. image:: https://codecov.io/gh/treyhunner/django-email-log/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/treyhunner/django-email-log
   :alt: Codecov

Django email backend that logs all sent emails to a database using a Django model.

This app works with Django 4.2 to 5.2.

This app requires Python 3.8+.

Getting Help
------------

Documentation for django-email-log is available at https://django-email-log.readthedocs.org/

This app is available on `PyPI`_.

Submit issues on Github: https://github.com/treyhunner/django-email-log/issues

Pull requests are welcome.  Read the CONTRIBUTING file for tips on submitting
a pull request.

.. _PyPI: https://pypi.python.org/pypi/django-email-log/

Building and Publishing Releases
--------------------------------

This project uses a ``Justfile`` to wrap commands and their dependencies.

- ``just test`` - Run tests with ``tox`` and generate coverage report
- ``just build`` (or ``just dist``) - Build source distribution (sdist) and wheel packages in ``dist/``
- ``just test-release`` - Publish packages in ``dist/`` to test.pypi.org
- ``just release`` - Publish packages to PyPI

You can check out all of the Just recipes with ``just --list``.

Related Projects
----------------

Thanks to the following related projects for inspiration:

- `django-mailer`_
- `django-post_office`_
- `django-celery-email`_
- Email logger mentioned in this `StackOverflow answer`_

.. _django-mailer: https://github.com/pinax/django-mailer
.. _django-celery-email: https://github.com/pmclanahan/django-celery-email
.. _django-post_office: https://github.com/ui/django-post_office
.. _stackoverflow answer: http://stackoverflow.com/a/7553759/98187
