Skip to main content

Django Outbox is an app that enable you to see the emails sent by your project through the web browser.

Project description

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

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-outbox-0.6.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file django-outbox-0.6.0.tar.gz.

File metadata

  • Download URL: django-outbox-0.6.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-outbox-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8d966ee804cbdd93800d42aef3b3efdfd983144c04d39770220ca7251fee3c4f
MD5 39fcaec929fd8e085c050dbad1075914
BLAKE2b-256 3012ecf4b4130f8b6f1a370378edf678f699bf67532feaca11f54a9e7873c957

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page