https://github.com/20tab/django-nullmailer
A django EMAIL_BACKEND for enqueuing mail in nullmailer spool system
https://github.com/20tab/django-nullmailer
Last synced: 11 months ago
JSON representation
A django EMAIL_BACKEND for enqueuing mail in nullmailer spool system
- Host: GitHub
- URL: https://github.com/20tab/django-nullmailer
- Owner: 20tab
- License: mit
- Created: 2014-01-30T09:58:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-12-01T14:31:59.000Z (over 7 years ago)
- Last Synced: 2025-07-07T08:19:07.464Z (11 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
django-nullmailer
=================
A django EMAIL_BACKEND for enqueuing mail in nullmailer spool system
To use just add this line to your project settings.py:
```py
EMAIL_BACKEND = 'nullmailer.backend.EmailBackend'
```
by default the class uses the /var/spool/nullmailer directory.
You can change it using the NULLMAILER_SPOOLDIR constant in settings.py
```py
NULLMAILER_SPOOLDIR = '/var/spool/foobar'
```
The module assumes your django app has write access to the nullmailer spool directory (generally the directory is owned by the 'mail' user, a good trick is giving it write access to the 'mail' group and putting the uid running the django app in the 'mail' group)