question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Email not working Gmail

See original GitHub issue

Environment:

  • v1.0.3.135 Docker
  • VPS
  • Server: smtp.gmail.com
  • Port: 587

Input login, password, hit save. Then ‘Send test email’.

Response: Error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at

Less Secure Apps enabled in Google. No 2FA. Said I “Recognize activity” in Google. And reviewed this doc: https://support.google.com/mail/answer/185833?hl=en. No luck

Looked around, couldn’t find any information.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
robertclarksoncommented, Feb 16, 2021

For anyone else trying to use Gmail as the email server you need to create an “app password” for the gmail account you want to use as Google now require app passwords when using 3rd party services to send email on behalf.

2reactions
Kukkscommented, Nov 3, 2019

I recommend anyone to use a more reliable SMTP server for their business needs. Mailgun allows you to use theirs for free(you need to put in your credit card but they never charge you unless you use their paid plans) against your domain.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gmail won't load
Gmail won't load · Step 1: Check that you're using a browser that works with Gmail · Step 2: Check your browser extensions...
Read more >
How do I fix my Gmail not receiving emails? (updated 2023)
There could be several reasons why your Gmail is not receiving emails. Some possible causes include internet connectivity issues, emails being ...
Read more >
gmail not working on the mail app the comes the phone
gmail not working on the mail app the comes the phone · On your iPhone or iPad, open the Settings app. · Select...
Read more >
Why Is My Gmail Not Receiving Emails? - Learn How To Fix It
There are two main reasons for not getting emails on the Gmail web app: insufficient storage space and email filters. If you suspect...
Read more >
How to Fix Gmail Settings If You're Not Receiving Emails
How to fix Gmail if you're not receiving emails. Clearing your inbox or Google Drive, changing your filter settings, and double-checking your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found