Configure Email (e.g. AWS SES)
These instructions will allow you to Configure Email (e.g. AWS SES).
Prerequisite: Start with an email address you can send email from in SES. Either an approved domain (e.g. test.com) or an approved individual email address (e.g. no-reply@test.com).
Confirm that your email address settings in lms.yml and studio.yml match the email addresses you are allowed to send emails from. Especially check BULK_EMAIL_DEFAULT_FROM_EMAIL and DEFAULT_FROM_EMAIL.
Note down the following details from your email service (e.g. AWS SES)
Server Name (e.g. email-smtp.us-east-1.amazonaws.com)
Port (e.g. 25, 465, 587)
Use TLS? (e.g. Yes)
Generate an SMTP username and password. Save them in a secure place.
SMTP Username (e.g. AKIASCBVU66XRMZOQCUQ)
SMTP Password (e.g. BJNzVJfAnY7aLu8VOW4u)
Configure the following fields in lms.yml and studio.yml
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST: ‘Server Name’ from above
EMAIL_HOST_PASSWORD: ‘SMTP Password’ from above
EMAIL_HOST_USER: ‘SMTP Username’ from above
EMAIL_PORT: One of the ‘Ports’ from above (often 587)
EMAIL_USE_TLS: True if ‘Use TLS’ is yes from above
Restart the edx service by issuing the following command:
sudo /edx/bin/supervisorctl restart all