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

1 2 >
Posted: May 15, 2013 at 4:45 AM Quote #96586
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
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: May 22, 2013 at 10:37 AM Quote #97224
Same issue here.  What is odd is I use the exact same creds on an existing 1.9 Nop site, and everything works fine.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 12, 2014 at 7:54 AM Quote #113749
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!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 20, 2014 at 12:10 AM Quote #131253
I have tried this but it doesn't work for me .
What should i do now?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 20, 2014 at 1:24 PM Quote #131283
Check that you are using settings recommended here
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.noptools.com
Posted: December 12, 2015 at 1:02 PM Quote #156739
Hey man 5.5.1 Authentication Required Learn more at.
This post/answer is useful
-5
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: January 07, 2016 at 6:31 AM Quote #158949
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
This post/answer is useful
3
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: February 13, 2016 at 5:23 PM Quote #161826
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.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 03, 2016 at 5:37 PM Quote #163417
[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!
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Web Developer @ NWCA
Posted: May 28, 2016 at 12:31 AM Quote #168499
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 post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.