Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edwinlunando/django-naomi
Django email backend
https://github.com/edwinlunando/django-naomi
Last synced: 3 months ago
JSON representation
Django email backend
- Host: GitHub
- URL: https://github.com/edwinlunando/django-naomi
- Owner: edwinlunando
- License: mit
- Created: 2014-09-01T08:21:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T19:12:32.000Z (almost 5 years ago)
- Last Synced: 2024-07-22T04:20:57.404Z (3 months ago)
- Language: Python
- Size: 248 KB
- Stars: 76
- Watchers: 2
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-naomi - Django email backend (Python)
README
django-naomi
============Django-naomi is a email backend for Django that let you preview email from your web browser instead of sending it using SMTP server. This is perfect for development environment that lack of SMTP server or you want to debug the email message. Attachment will be shown as link. This library is inspired from `Letter Opener `_.
Django Setup
------------First, install django-naomi by using pip. You can add `django-naomi` to your requirements file or run this command. ::
pip install django-naomi
Then, add `naomi` to your `INSTALLED_APPS` on your django settings file. ::
INSTALLED_APPS += ('naomi',)
Lastly, change the Django email backend and set the temporary directory. ::
EMAIL_BACKEND = "naomi.mail.backends.naomi.NaomiBackend"
EMAIL_FILE_PATH = "/home/test/tmp"Please make sure that the `EMAIL_FILE_PATH` directory is writeable. That's all you need to do. Now, every time you send email it will shown on your web browser.
Development and Feedback
------------------------
Questions or problems? Please use the issue tracker. If you would like to contribute to this project, fork this repository and send me a pull request.