搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 9 有這個問題
  • 8 次檢視
  • 最近回覆由 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)
附加的畫面擷圖

由 user1452612 於 修改

被選擇的解決方法

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)

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

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)

由 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.