Coder Social home page Coder Social logo

django-naomi's Introduction

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.

django-naomi's People

Contributors

edwinlunando avatar fjsj avatar

Watchers

James Cloos avatar

Forkers

altimore

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.