Keywords: OpenEdX - AWS - Technical issue - Email configuration (SMTP)
After setting up Edx instance on aws using the image at https://aws.amazon.com/marketplace/pp/B00ZPVRGC4
I configured the SMTP config based on this doc.
I am able to load the application(LMS) successfully.
When I try to register a new user. It is registering the user and says that an activation email is sent.
But below are the observations on the log file.
That means that the activation email sending got failed.
But when I relogin the user, as per the edx implementation, it resends the activation email again. The below log is observed.
I got the activation email to the registered emai id this time.
On digging the codebase, the codes used to send activation email at the time of registration is different from the code used to send the activation email at the time of relogin.
At the time of registration, email is trigerred as a celery task in an async way. But at the time of relogin, no celery task. The email is sent in a syncronous way.
I also tried on the django shell to send a test email using the function (send_activation_email) used by celery task. I am able to send the test email.
This function is available here :
This celery task is triggered at the time of registration.
Though it seems to be an issue with the internal of Open edX, it more looks like for me an issue with celery configuration, that it is not able to read the edx-platform's configuration for some reasons.
Please help me to rule out if this is not an issue with bitnami setup.