Search code examples
djangodjango-templatesdjango-email

Django mailer import


According to the documentation on django-mailer, to use django-mailer for all my emails, I just need to put this in settings.py:

EMAIL_BACKEND = "mailer.backend.DbBackend"

Which I did.

But I get this error when I actually try to use django-templated-email to send my emails:

ImproperlyConfigured: Error importing email backend module mailer.backend: "No module named backend"

How can I fix this?

EDIT:

Looks like there is indeed no "backend" module inside the mailer package. Does this mean the documentation is incorrect? What should I do now; find another package to use?

nothing


Solution

  • Actually, there is backend.py file in the mailer package, see github repo. Try to reinstall django-mailer directly from github.