Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

SMTPAuthentication Error in the sign up process #250

Open
HarinderKaur11 opened this issue Mar 28, 2017 · 7 comments
Open

SMTPAuthentication Error in the sign up process #250

HarinderKaur11 opened this issue Mar 28, 2017 · 7 comments

Comments

@HarinderKaur11
Copy link

HarinderKaur11 commented Mar 28, 2017

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?
screenshot 12
screenshot 13
screenshot 14
screenshot 15

@amittbhardwj
Copy link

@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.

@HarinderKaur11
Copy link
Author

@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.
It needs to be corrected so that the user gets a proper error message of an invalid number entered.

@HarinderKaur11
Copy link
Author

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.
@medhach Please guide on this too.

@HarinderKaur11 HarinderKaur11 changed the title STMPAuthentication Error in the sign up process SMTPAuthentication Error in the sign up process Mar 30, 2017
@medhach
Copy link

medhach commented Apr 2, 2017

How are you planning to resolve this @HarinderGithub ?

@HarinderKaur11
Copy link
Author

Will soon drop in a solution here :) @medhach

@HarinderKaur11
Copy link
Author

@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.
image
:

@amittbhardwj
Copy link

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants