Frage

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

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top