Skip to main content

Django logging for Mandrill

Project description

Mandrill Logger is a simple app to log the communication with mandrill. Sometimes we want to log the emails on our end instead of giving users access to the mandrill-account. This also allows us to follow up on user emails that are being rejected or marked as spam.

# Installation

pip install mandrill-logger

# Getting Started

## Add to INSTALLED_APPS*

‘mandrill_logger’,

## Migrate

python manage.py migrate mandrill_logger

## Implement Mandrill Logger After you have sent your email, simply send the email object to log_email:

from mandrill_logger.utils import MandrillLogger mandrill_logger = MandrillLogger() mandrill_logger.log_email(email)

## Log into Admin to view the logs Simply log in to Django Admin to view the logs created.

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

mandrill-logger-0.0.9.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file mandrill-logger-0.0.9.tar.gz.

File metadata

  • Download URL: mandrill-logger-0.0.9.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for mandrill-logger-0.0.9.tar.gz
Algorithm Hash digest
SHA256 8acd82959cbd1cbfcb00d315eeee66f556716e4a5887b4f32295ea433fc590aa
MD5 0b9bde40cbe0ee1d61de2e0a5c108202
BLAKE2b-256 0a2fd49ee550aac63de19934aaf78df190a007c2dd433817841c6b565332a674

See more details on using hashes here.

Supported by

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