Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTP credentials setting not working #44

Open
2020rahulsharma opened this issue Nov 14, 2021 · 4 comments
Open

SMTP credentials setting not working #44

2020rahulsharma opened this issue Nov 14, 2021 · 4 comments

Comments

@2020rahulsharma
Copy link

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

@bill0alt
Copy link

@2020rahulsharma did you find a solution to make the app send emails properly?

@2020rahulsharma
Copy link
Author

@2020rahulsharma did you find a solution to make the app send emails properly?

no i haven't found any solution for this :(

@ramanaditya
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants