Back

SMTP Still Not Working

  • 0
  • Self Hosted
ZachHandley
20 Dec, 2023, 21:21

Hey so I'm just trying to use Gmail's SMTP server settings, I put in the settings as shown, and then I have username as my email, and password as my password for that gmail account, but my worker-mails shows the second picture, could not authenticate, so trying to figure it out, this seems like it should work, but is there anything I'm missing? Should I be using 465/SSL instead?

TL;DR
User is experiencing issues with SMTP connection on Gmail's server. They have tried various settings and authentication methods but still cannot authenticate. They are unsure if they should be using 465/SSL instead. Solution: The user should try changing the setting to 465 and use SSL for authentication. Additionally, they should enable 2FA on their Google account and generate an app password to ensure secure access.
Drake
20 Dec, 2023, 22:32

Can you try tls not TLS?

Drake
20 Dec, 2023, 22:32

but also...could not authenticate means it's an authentication issue

Drake
20 Dec, 2023, 22:32

with Gmail...did you enable insecure passwords and then generate an app password to use?

ZachHandley
21 Dec, 2023, 01:59

with GSuite for Business without 2FA I can just login with a secure pass

ZachHandley
21 Dec, 2023, 02:06

changed to tls -- still nothing, gonna try 465

Drake
21 Dec, 2023, 02:08

have you tried testing the same parameters with some SMTP test client?

ZachHandley
21 Dec, 2023, 02:14

so

ZachHandley
21 Dec, 2023, 02:14

setting it to 465 tls works

ZachHandley
21 Dec, 2023, 02:14

I take it back, got can't connect now

ZachHandley
21 Dec, 2023, 02:15

1s

ZachHandley
21 Dec, 2023, 02:21

okay so

ZachHandley
21 Dec, 2023, 02:21

it seems like Google recently turned off insecure passwords like that without enabling 2fa

ZachHandley
21 Dec, 2023, 02:26

yeah

ZachHandley
21 Dec, 2023, 02:26

so you gotta go to https://myaccount.google.com and enable 2FA then click on the 2-Step Verification and that has App Passwords at the bottom

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more