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
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| django-outbox-0.6.0.tar.gz | 4.1 kB | Without provenance | Details for django-outbox-0.6.0.tar.gz |
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 |
Security for django-outbox 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.