dean
January 8, 2021, 4:56am
1
Using these settings in config.yml, I notice that when I run tutor config save
these settings do not get saved to /env/apps/openedx/config/
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST: email-smtp.us-east-1.amazonaws.com
EMAIL_HOST_PASSWORD: XXX
EMAIL_HOST_USER: XXX
EMAIL_PORT: 587
EMAIL_USE_TLS: true
When I save these values in the env files and deploy, it works - but I know that my settings will only get overwritten later. This is 11.0.5.
regis
January 11, 2021, 8:57am
3
In this particular case, the recommended approach is not to build a custom plugin (for once ) but to properly set the right configuration variables. See https://docs.tutor.overhang.io/configuration.html#smtp
(notice in particular how you should not define EMAIL_*
but SMTP_*
variables.)
1 Like
regis
February 15, 2021, 11:52am
5
Hi @amraotkar ! Please don’t hijack other people’s topics with your own issues. Instead, you should create a new topic where you describe your issue as precisely as possible . This includes the commands you ran, what incorrect behaviour you are observing, the error logs, etc.
Sure. Will delete the message and create a new thread.