Closed michzimny closed 2 years ago
Current behaviour:
For the default setting of emailBackend: "django.core.mail.backends.smtp.EmailBackend" in values.yaml, pod taiga-back fails on sending emails with:
emailBackend: "django.core.mail.backends.smtp.EmailBackend"
values.yaml
ImportError: Module "django.core.mail.backends.smtp" does not define a "emailbackend" attribute/class
Expected behaviour:
Emails are sent properly for that default configuration.
Cause of the error:
Env var EMAIL_BACKEND in that pod is set to django.core.mail.backends.smtp.emailbackend that is incorrect for Django.
EMAIL_BACKEND
django.core.mail.backends.smtp.emailbackend
Solution:
Remove lower for EMAIL_BACKEND in the template of sts/taiga-back.
lower
Current behaviour:
For the default setting of
emailBackend: "django.core.mail.backends.smtp.EmailBackend"
invalues.yaml
, pod taiga-back fails on sending emails with:Expected behaviour:
Emails are sent properly for that default configuration.
Cause of the error:
Env var
EMAIL_BACKEND
in that pod is set todjango.core.mail.backends.smtp.emailbackend
that is incorrect for Django.Solution:
Remove
lower
forEMAIL_BACKEND
in the template of sts/taiga-back.