Getting Smtp Working With edX Devstack
2017-11-22
Lately I’ve been tinkering with Open edX at work for a project we’re working on. The customer needed a specific workflow which required emails and all the parameters I found didn’t help. But finally I found the solution here
All I needed to do was add the following to edx-platform/lms/envs/devstack.py
, this has to be added below the original EMAIL_BACKEND line
EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST='MAIL_SERVER'
EMAIL_PORT=PORT
EMAIL_USE_TLS=TLS
EMAIL_HOST_USER='USERNAME'
EMAIL_HOST_PASSWORD='PASSWORD'
Restart LMS and you should be ready to go
About Me
Dev gone Ops gone DevOps. Any views expressed on this blog are mine alone and do not necessarily reflect the views of my employer.