Mail Backend for testing¶
Django offers a mail backend that is not easy to use as it does not create a simple mbox to browse.
This EmailBackend offers the possibility to create a maildir that can be browsed simply with:
mutt -f /tmp/django.mbox
If you set:
EMAIL_BACKEND = 'jmb.core.utils.mail_backends.MboxEmailBackend'
EMAIL_FILE_PATH = '/tmp/'