Skip to content

A quick and dirty way to save emails on the database and view them on the admin interface. Handy if you don't have a working email setup during development.

License

Notifications You must be signed in to change notification settings

arthur-debert/Django-Email-Preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django Email Preview

This is a small app to aid in the development, if you do not have a working email setup.

Using a custom EmailBackend, emails are persisted to the database, where they can be viewed on the admin interface. The admin change_form will render the email as HTML.

Setup

Quick and dirty how to:

  • Add 'emailreader' to your INSTALLED_APPS.
  • Change the email backend to point to 'emailreader.dbbackend.EmailBackend'
  • Run syncdb to crete the email table.
  • Symlink 'emailreader/media/emailreader' to your [MEDIA_ROOT]/emailreader/

And you are ready to go.

About

A quick and dirty way to save emails on the database and view them on the admin interface. Handy if you don't have a working email setup during development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages