colossus
colossus copied to clipboard
SMTP credentials setting not working
the SMTP credentials setting inside mailing list does not work , i mean the host user and password get stored in the database but django doesn't use that data for email host user and password . what to do now?? how to fix this problem ?? i want to dynamically change the email setting after the app is hosted online
@2020rahulsharma did you find a solution to make the app send emails properly?
@2020rahulsharma did you find a solution to make the app send emails properly?
no i haven't found any solution for this :(
https://stackoverflow.com/questions/10384657/django-send-mail-not-working-no-email-delivered
solução
As of now, the current version doesn't support reading EMAIL_HOST
and PASSWORD
from the database.
I fixed this and created a PR. You can use the changed code pieces.
Another Solution is instead of storing it in the database, you should set the env variables EMAIL_HOST_USER, EMAIL_HOST_PASSWORD, EMAIL_HOST, EMAIL_PORT
as Django by default use the keys from the environment
I hope this works