Skip to main content

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.

Release files for django-naomi 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-naomi 0.8
File Size Uploaded
django-naomi-0.8.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-naomi 0.8
File Interpreter ABI Platform
django_naomi-0.8-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:10.9 kB

Release files / django-naomi-0.8.tar.gz

Download URL django-naomi-0.8.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
76da7bf3fd139129557348a440811678616a89e2fbcd3c0cebfc69094e6324db
BLAKE2b-256 checksum
How to use checksums
d1a44e824a6171687aea4c8d71515a907521b32bee50401ee20dddfd5b362175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_naomi-0.8-py2.py3-none-any.whl

Download URL django_naomi-0.8-py2.py3-none-any.whl
Size 6.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
145b7bd54443a7062cc2b48c5572c526641c01233f697a7e8be96e1c11a082da
BLAKE2b-256 checksum
How to use checksums
b9467b1696f2ad75551ce0e31622b2881c933f8ef9be59300f57b2b7b7702246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8 This release

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page