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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page