SMTP error (Gmail hosted)

Ive tried endlessly all the smpt setting to make this work. Have i missed something in gmail settings??

Port: 587
From name: [name@mydomain.com]
Host name: smtp.gmail.com
username: [name@mydomain.com]
Password: [gmail password]
ssl: tick

Thanks in advance. :slight_smile:

Hi @LeeG

Have you recently enabled 2 factor authentication on your account?

It’s off as far as I can tell.

I’ve also tried setting with a generic **@gmail.com address and still no joy.

Just looking at an account I have linked up to Gmail, which uses the following settings:

Port: 25
From Address: address@example.com
Hostname: smtp.gmail.com
Username: address@example.com
Password: ******************
Use Secure Connection: tick

Another thing to check, is if you have an email address that’s set up as an alias (e.g. sales@ being an alias of dave@), then the username needs to be the address attached to the account (in this case, “dave”).

Thanks Mathew… Ive set it up exactly like this and it’s not working. :frowning:
I’m stumped on this one!

Let me send you a private message and I’ll take a quick look for you.

In order to be able to do SMTP logging in with your plain username and password like this you have to have your google account configured to allow “less secure apps”, and even if you’ve enabled this in the past google say they turn it off for you if they see it hasn’t been used for a while.

Alternatively, if you do enable two factor auth then you can generate an “app password” to use instead of your main one, which I don’t believe requires less secure apps to be enabled.

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