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.5.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

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