This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cannot connect to smtp.gmail.com - worked a few days ago

  • 2 replies
  • 9 have this problem
  • 8 views
  • Last reply by Mel.Kos

more options

I'm having trouble sending emails from my gmail accounts. It gets stuck on "Connecting to smtp.gmail.com...", after a few seconds an error message appears: "Sending of the message failed. The message could not be sent because the connection to Outgoing server (SMTP) smtp.gmail.com timed out. Try again."

I've confirmed that the settings are being used correctly https://prod-cdn.sumo.mozilla.net/uploads/images/2018-01-18-12-43-59-44a50f.png

And on the smtp settings https://prod-cdn.sumo.mozilla.net/uploads/images/2018-01-18-12-44-02-3ead30.png (username is my email) ... after Google's info: https://support.google.com/a/answer/176600?hl=en

The only thing I'm unsure of is authentication method. Thunderbird's default is 0Auth2, but while browsing the internet the preferred method seems to be Encrypted password. I have, of course, tried both - same problem.

Thunderbird version: 52.5.2 Windows 10 (x64) Incoming email works and SMTP works for another provider (yandex)

I'm having trouble sending emails from my gmail accounts. It gets stuck on "Connecting to smtp.gmail.com...", after a few seconds an error message appears: "Sending of the message failed. The message could not be sent because the connection to Outgoing server (SMTP) smtp.gmail.com timed out. Try again." I've confirmed that the settings are being used correctly https://prod-cdn.sumo.mozilla.net/uploads/images/2018-01-18-12-43-59-44a50f.png And on the smtp settings https://prod-cdn.sumo.mozilla.net/uploads/images/2018-01-18-12-44-02-3ead30.png (username is my email) ... after Google's info: https://support.google.com/a/answer/176600?hl=en The only thing I'm unsure of is authentication method. Thunderbird's default is 0Auth2, but while browsing the internet the preferred method seems to be Encrypted password. I have, of course, tried both - same problem. Thunderbird version: 52.5.2 Windows 10 (x64) Incoming email works and SMTP works for another provider (yandex)
Attached screenshots

Modified by user1452612

Chosen solution

Turns out it was a firewall issue.

I'm using a VPN and solved it by adding a general rule to Iptables: iptables -A OUTPUT -p tcp --dport 465 -j ACCEPT (Google seems be picky or something)

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

Turns out it was a firewall issue.

I'm using a VPN and solved it by adding a general rule to Iptables: iptables -A OUTPUT -p tcp --dport 465 -j ACCEPT (Google seems be picky or something)

Modified by user1452612

more options

I added the rule and it seems to work. Of course 1 email isn't conclusive. I do hope that this is it though. Thank you.