Skip to content

Django EMail backend that logs messages to a file before sending

Notifications You must be signed in to change notification settings

PaulSD/django_log_email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django_log_email

Django EMail backend that logs messages to a file before sending.

Usage

Add the following to your requirements.txt

git+https://github.com/PaulSD/django_log_email

Then add the following to your settings.py

EMAIL_BACKEND = 'django_log_email.backends.EmailBackend'
EMAIL_LOG_FILE = '/var/log/email.log'
EMAIL_LOG_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

EMAIL_LOG_BACKEND is optional. If omitted, messages are logged but not actually sent.

License

BSD

About

Django EMail backend that logs messages to a file before sending

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages