I recently just used Vagrant to install the Production Stack of the Open-edX online learning platform. I followed the blog address at this URL http://iambusychangingtheworld.blogspot.ca/2014/03/edx-platform-to-run-cms-at-port-80.html when it came to configuring the ports that the Open-edX platform listens on, and that worked out well. I would like to thank user Trinh Nguyen. However I would like to know more about configuring SMTP as well so that when users create accounts they receive their activation email. This could help anyone just starting Open-edX development including me. It would be good to know about what files need configuring and other important details. Thank you.
As far as I know, after you finish the production stack deployment, the SMTP service will work as desired (can be able to send out emails). And there are something about emails you can do:
And those settings are located at: /edx/app/edxapp , especially these 2 files:
Hope that will help
Trinh
Updates: To sending email via GMail, add the following settings to the common.py:
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = '[email protected]' # or [email protected]
EMAIL_HOST_PASSWORD = 'YourPassword'
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = '[email protected]'
You should restart the edx services, not just the nginx:
LMS/CMS:
sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp:
Workers:
sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp_worker:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With