Getting Smtp Working With edX Devstack
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
1EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
2EMAIL_HOST='MAIL_SERVER'
3EMAIL_PORT=PORT
4EMAIL_USE_TLS=TLS
5EMAIL_HOST_USER='USERNAME'
6EMAIL_HOST_PASSWORD='PASSWORD'
Restart LMS and you should be ready to go