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.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

django_naomi-0.3-py2.py3-none-any.whl (6.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for django-naomi-0.3.tar.gz
Algorithm Hash digest
SHA256 cba85383ed8ac85be4eeadf2918f88bb63cd2c88e7d6f5bd152c2b44ecfab28c
MD5 31910d7137935ad2f00775bf904438e7
BLAKE2b-256 44ffdc1cd6379d83c680be5b1033b56291b8c7ff54749a1f48712f15fa722a6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_naomi-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 761935ca2473313c59f3152561ac93829a68246ed830a0f38bed2fe0c38a6e7b
MD5 27e50f46f14c1072d6e9f74d9120f262
BLAKE2b-256 f3d80680a09426287e101c8f69bff3ca7cca1575d57e83beb1e91c1e58294b3a

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