Hello guys, I have both LMS and CMS running well in production and I configured the email-related settings with Amazon SES. Here is my config.yml
CONTACT_EMAIL: learn@abc.in
DEFAULT_FROM_EMAIL: learn@abc.in
ENABLE_HTTPS: true
SMTP_HOST: email-smtp.******.amazonaws.com
SMTP_HOST_USER: learn@abc.in
SMTP_PASSWORD: ****************************
SMTP_PORT: 465
SMTP_USE_TLS: true
These are all my email-related configs in the config.yml. When I added these, I ran tutor config save
and restarted. Everything was reflected in the lms.env.yml and cms.env.yml except for the HOST_USER.
Here is my lms.env.yml
CONTACT_EMAIL: “learn@abc.in”
EMAIL_BACKEND: “django.core.mail.backends.smtp.EmailBackend”
EMAIL_HOST: “email-smtp..amazonaws.com"
EMAIL_PORT: 465
EMAIL_USE_TLS: true
EMAIL_HOST_USER: “”
EMAIL_HOST_PASSWORD: "***************************************************”
Here you can see the EMAIL_HOST_USER is not picked up. But, the rest all picked up when I saved the config and restarted the services.
Why is the mail service not working? Anything I missed to configure? Is that not working because the EMAIL_HOST_USER is empty??