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!
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.
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.”
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.