[SOLVED] 5.5.1 Authentication Required with smtp.gmail.com

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hi all,

I was trying to accomplish email setup with gmail smtp for 2 days with no luck.. I was really curious reading that some guys managed to set up it successfully and some not facing the error “The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required”. It was really a nightmare because I knew that everything is setup correctly.

If you are still facing authentication problem then read the instructions and the bad dream will go away!!!

This is my first post  (is it gonna help my karma?)  :) and I really enjoy be with you

Find more about nopCommerce here
10 years ago
Same issue here.  What is odd is I use the exact same creds on an existing 1.9 Nop site, and everything works fine.
10 years ago
Wow! I was getting the error below because I was using a weak password...

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

After I tried almost everything I found a post from this guy:


http://stackoverflow.com/questions/704636/sending-email-through-gmail-smtp-server-with-c-sharp

THE FOLLOWING WILL ALMOST CERTAINLY BE THE ANSWER TO YOUR QUESTION IF ALL ELSE HAS FAILED:

I got the exact same error, it turns out Google's new password strengh measuring algorithm has changed deeming my current password as too weak, and not telling

me a thing about it (not even a message or warning)... How did I discover this? Well, I chose to change my password to see if it would help (tried everything

else to no avail) and when I changed my password, it worked!

Then, for an experiment, I tried changing my password back to my previous password to see what would happen, and Gmail didn't actually allow me to do this,

citing the reason "sorry we cannot allow you to save this change as your chosen password is too weak" and wouldn't let me go back to my old password. I figured

from this that it was erroring out because either a) you need to change your password once every x amount of months or b). as I said before, their password

strength algorithms changed and therefore the weak password i had was not accepted, even though they did not say anything about this when trying to login

ANYWHERE! This (number 2) is the most likely scenario, as my weak password was about 4 months old, and it let me use it in Gmail.

It's pretty bad that they said nothing about this, but it makes sense. Because most hijacked emails are logged into using software outside of gmail, and I'm

guessing you are required to have a stronger password if you want to use Gmail outside of the Gmail environment.

I hope this helps!
9 years ago
I have tried this but it doesn't work for me .
What should i do now?
9 years ago
Check that you are using settings recommended here
8 years ago
Hey man 5.5.1 Authentication Required Learn more at.
8 years ago
If you´re reading this post in 2016 or later, and none of the above solutions have fixed your problem sending SMTP mails from your Gmail account, then the solution will likely be to change your account settings regarding "Less secure APPs"

Read this to learn how to allow less secure APPs to use your login:
https://support.google.com/accounts/answer/6010255?hl=en
8 years ago
In my case I turned on 2-Step Verification for my email account and forgot to generate the app password for nopCommerce.  Once I generated the password and applied it the email functionality started working again.
8 years ago
[email protected] wrote:
If you´re reading this post in 2016 or later, and none of the above solutions have fixed your problem sending SMTP mails from your Gmail account, then the solution will likely be to change your account settings regarding "Less secure APPs"

Read this to learn how to allow less secure APPs to use your login:
https://support.google.com/accounts/answer/6010255?hl=en


Thank you for this. I was able to use our original password, didn't have to change anything except this setting in my Google account. You saved me from a huge headache!
7 years ago
Just login with your account and then visit www.google.com here you write http://www.google.com/setting/securtiy/apps  then enable the security option. so this is the simple way to send the email
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.