-
Notifications
You must be signed in to change notification settings - Fork 51
SMTPAuthentication Error in the sign up process #250
Comments
@HarinderGithub The main issue is with the SMTP authentication method i.e. sending confirmation emails to signed up users. The google account is not properly configured to send emails as per the error shown, the app is not able to access the the gmail account from where the emails are being sent. |
@amittbhardwj The problem is that this authentication error shows up when the user enters a phone number with less than 5 digits. That is why it could be confusing for the user to identify the problem. The error shows the problem with sending an email confirmation, however, it is arising because of an invalid phone number entered. |
Also, I think the proper configuration of google account to send emails can be made another issue because confirmation email is not received at present on creating a new account. |
How are you planning to resolve this @HarinderGithub ? |
Will soon drop in a solution here :) @medhach |
@medhach I figured out the problem for STMP error, which is when the Django tries to access the email provided in the settings.py, it is not getting the direct access to send emails as the email account requires verification i.e it requires a phone number to be associated with it any other source of verification. I tried to access the Gmail account given in the settings.py and the following screenshot will prove my point. If the email "[email protected]" is verified by its maintainer, it would solve the STMP Authentication error. |
@medhach the error says that "Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 b62sm497511itc.16 - gsmtp')" This has to do with adding security information with associated google account. |
In the code, the phone number digit limit is set from 5-20 digits. However, it is not implemented properly. This is because when the user enters a phone number with digits less than 5 and hits the submit button, the SMTPAuthentication error window appears and there is neither message of successful sign-up nor any 'enter valid phone number ' kind of message. But still, even after this error window, if the user tries to sign in with that username and password, he is able to do so. This is a bug in the sign-up process which I would like to resolve.
@medhach Can I go ahead?
The text was updated successfully, but these errors were encountered: