Skip to main content

Email backend for Django. Preview your email in browser instead of sending it.

Project description

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. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-naomi-0.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

django_naomi-0.5-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-naomi-0.5.tar.gz.

File metadata

  • Download URL: django-naomi-0.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-naomi-0.5.tar.gz
Algorithm Hash digest
SHA256 1ef994a3f7818c659ac55c25540da0f016fd6ccc8679362a7f7b21e3b0a11a78
MD5 0c6ab8c2d98697f682f0511a5e4c1ac4
BLAKE2b-256 d4a97255b604518f7fd41c64ea2249f3409d0ddc8c12b7e4c7150eb7df0f25a6

See more details on using hashes here.

File details

Details for the file django_naomi-0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_naomi-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 24632963dfe1ae6802b640862e45fba4ccc34ad01ccc9304d8819157777d50f4
MD5 3f05e602a80b9bfa24d88fe747976002
BLAKE2b-256 0c3dcbcba0622a5663b1b8039e8f3aa2c6edfc2f03c0cd73a456253947cc3a15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page