I’m using Amazon SES (Simple Email Service) as SMTP and it’s working flawlessly (activation email sent to registered users). but when I tried to send the Course Creator Request email, it failed.
Failure sending 'pending state' e-mail for user.email to studio_request_email",
I used a YAML plugin and set
STUDIO_REQUEST_EMAIL to my desired email and it works fine when I’m using Google as SMTP on local but it’s not working with AWS.
I think the issue is with the
How sending emails are handled in different sections like registrations and why it’s different here ?
Are there any variables needed to be set in
config.yml to solve this issue??
What are the logs from the lms-worker and cms-worker containers after the task failed?
EDIT: the email is sent to and from the email address stored in
settings.FEATURES.get('STUDIO_REQUEST_EMAIL'). The default for this email address is… an empty string (source)
We can verify that this address is also undefined in tutor:
tutor local run --no-deps cms ./manage.py cms shell -c "from django.conf import settings; print(settings.FEATURES.get('STUDIO_REQUEST_EMAIL'))"
To fix this issue, we should:
- Open an issue in tutor
- Define the setting in tutor
- Make a PR upstream to define a good default for this setting
Would you like to do either of these items @CodeWithEmad?
sure, I’m a bit busy these days, but I would love to work on it
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.