Metadata-Version: 2.1
Name: django-email-log
Version: 1.3.0
Summary: Django email backend that logs all emails
Home-page: https://github.com/treyhunner/django-email-log
Author: Trey Hunner
Author-email: trey@treyhunner.com
License: LICENSE
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.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst

================
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 2.2 to 4.1

This app requires Python 3.7+.

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/


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


CHANGES
=======

1.3.0 (2023-02-10)
------------------

- Added Django 4.1 support
- Remove Python 3.6 support
- Add saving of e-mail attachemnts to database
- Add saving of html alternatives to database


1.2.0 (2022-02-08)
------------------

- Set default_auto_field in apps.py (#23)
- Send email even when we can't write the database (#14)
- Fix Django warnings
- Improve CI/pre-commit/formatting (we're using Black now)


1.1.0 (2022-01-27)
------------------

- Added Django 3.2 and 4.0 support
- Dropped Django support for 2.1 and below
- Dropped Python 3.5 support
- Thanks to Alexey Kotenko and Craig Anderson for PRs


1.0.0 (2020-05-19)
------------------

- Added Django 2.x support and Django 3.x support
- Added tests for newer versions of Python 3
- Dropped Django support for 1.10 and below
- Dropped Python 2 support
- Thanks to Mark Jones and Oleg Belousov for attempted PRs

0.2.0 (2014-08-03)
------------------

- Added Django 1.6 and Django 1.7 support.
- Added German and Brazilian Portuguese translations (#3 and #9).  Thanks
  Jannis and Rodrigo Deodoro.
- Fixed email log app name on admin website.
- Output email body in admin interface with linebreaks shown correctly (#6).
  Thanks Keryn Knight.

0.1.0 (2013-05-02)
------------------

Initial release.
