Django Outbox
Capture all mails sent and show it in a simple web interface.
Quick Start
Install the package in your environment:
$ pip install django-outbox
Configure your django development settings file to use file based email backend:
from os import path
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
EMAIL_FILE_PATH = path.join(ROOT_PATH, 'tmp', 'app-mails')
Also add django_outbox to your installed apps:
INSTALLED_APPS += (
'django_outbox',
)
Add the django outbox url to your urls.py:
# urls.py
from django.conf import settings
# This will prevent from showing the outbox in production. The outbox
# will only be available when the DEBUG setting is true.
if settings.DEBUG:
urlpatterns += patterns('',
url(r'^outbox/', include('django_outbox.urls')),
)
Now just run your application in debug mode and access /outbox. All should be working!
Contributing
This project use pytest. To run the tests just type:
$ py.test
Release files for django-outbox 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-outbox-0.6.0.tar.gz | 4.1 kB | Details |
Release files / django-outbox-0.6.0.tar.gz
| Download URL | django-outbox-0.6.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d966ee804cbdd93800d42aef3b3efdfd983144c04d39770220ca7251fee3c4f
|
|
BLAKE2b-256 checksum How to use checksums |
3012ecf4b4130f8b6f1a370378edf678f699bf67532feaca11f54a9e7873c957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |