سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top