SMTP Settings not authenticating

I am trying to set up SMTP settings to use a gmail account, but getting authentication errors and I can’t work out why.

I have set the following:

Port = 587
Host name = smtp.gmail.com
User name = @gmail.com
Password =
Use secure connection = TICK
Send activation email to = name@mydomain.co.uk

The User name is the same as the From Address, as set up in the default email settings. I’ve verified the password is correct by typing it into a Text Editor and then Copy and Paste into the password field; even typing the password straight into the password field produces the same result.

I have also set the Gmail settings to ‘Less secure access’ by 3rd party apps.

I get the error message “The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.”

I have also searched the forum here for answers and it seems that these settings work for everyone else, but not for me!

Any clues for what might be happening?

Hi @graham_lake

I’ve just checked an account I have access to that uses Gmail, and this is set up with port 25 and works all OK. Are you able to try this port please?

You don’t have two factor authentication enabled for the google account by any chance?

Tagging onto @ian_roberts response:

Google is declining access to your Google account and triggering an “invalid password” error because it has noticed that an unknown computer (QuickFile’s servers) is trying to access your account.

Google, by default, blocks SMTP access (the protocol used to send emails) unless you enable “less secure apps” option on your Google “My Account” area:
https://support.google.com/accounts/answer/6010255?hl=en-GB

If you have two-factor authentication enabled on your Google account (whereby you need to type in both your password and provide a token from your mobile (SMS, phone-call Google Authenticator or Google Prompt)), then you need to use “App Passwords” and generate an unique Gmail-specific password to give to QuickFile’s Web interface:
https://support.google.com/accounts/answer/185833?hl=en

Port 25 tried. Response is: “The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.”

Thanks for response, Zeeshan.
“Less secureapps” is already enabled. Two-factor authentication is not enabled.

Thanks for response, Ian_roberts.
Two-factor authentication is not enabled.

Your original credentials look correct for GMail, it would be port 587 with SSL checked.

There’s a post here regarding the same error response from GMail. I think maybe check your recent activity on Google as I believe any new connections are flagged up here.

Also try the link below which seemed to be the solution on the other post.

https://accounts.google.com/b/0/DisplayUnlockCaptcha

This topic was automatically closed after 7 days. New replies are no longer allowed.