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.

Metadata

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 Provenance Actions
django-naomi-0.8.tar.gz 4.7 kB Without provenance Details for django-naomi-0.8.tar.gz

Built distribution (wheel)

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

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

Security for django-naomi 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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