New User Registration on LMS, registration email not received

46 views
Skip to first unread message

Chandrashekhar Patil

unread,
May 16, 2018, 12:33:38 PM5/16/18
to General Open edX discussion
Hello Friends,

I have installed devstack ginkgo2.0 on AWS EC2 instance. Initially, I am trying to register new user on LMS. But registration email is not getting sent. 
Then I configured SMTP to use Gmail for sending email. For this I followed this doc:https://github.com/CDOT-EDX/ProductionStackDocs/wiki/Enable-SMTP-for-EDX-(Production-Stack)
I replaced console with django.core.mail.backends.smtp.EmailBackend, then i made changes in (l/c)ms/envs/devstavk.py and in (l/c)ms/envs/common.py and lms/envs/content.py. I added there above string.Then I added Email_Host, Email_Port etc, in common.py and aws.py files the things properly also. But even now the registration email is not getting sent.  I am getting below error:

May 16 15:20:02 ip-192-168-2-248 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-192-168-2-248  9232] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"
May 16 15:22:31 ip-192-168-2-248 [service_variant=lms][openedx.core.djangoapps.catalog.utils][env:sandbox] WARNING [ip-192-168-2-248  9228] [utils.py:63] - Failed to get program UUIDs from the cache.
May 16 15:25:02 ip-192-168-2-248 [service_variant=lms][openedx.core.lib.log_utils][env:sandbox] INFO [ip-192-168-2-248  9214] [log_utils.py:36] - ApiKeyHeaderPermission used: ip="127.0.0.1", path="/notifier_api/v1/users/"

I have heard that: Open edX is not set up to actually send email by default. So pls guide me if any step is missing/required. The problem is from beginning only the email was not getting sent. so must be something missing. Thanks in advance.

Reply all
Reply to author
Forward
0 new messages