https://github.com/willandskill/mandrill_logger
Django logging for Mandrill
https://github.com/willandskill/mandrill_logger
Last synced: about 1 year ago
JSON representation
Django logging for Mandrill
- Host: GitHub
- URL: https://github.com/willandskill/mandrill_logger
- Owner: willandskill
- License: mit
- Created: 2016-04-08T07:52:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T12:23:12.000Z (over 7 years ago)
- Last Synced: 2025-06-01T17:08:56.467Z (about 1 year ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.