Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Open

Sending emails times out

contact1347

If I try to send a message via GMail, after waiting for a while, I get an error message saying that the connection failed due to timeout. I'm using the default servers set by the GMail account setup wizard (smtp.gmail.com, port 465, encryption SSL/TLS, auth method OAuth2). Receiving emails works fine. The console shows the following:

mailnews.smtp: New SmtpClient instance created mailnews.smtp: Connecting to smtp://smtp.gmail.com:465 mailnews.smtp: Connected mailnews.smtp: S: 220 smtp.gmail.com ESMTP 5a478bee46e88-382a72eb2f3sm2256287eec.18 - gsmtp mailnews.smtp: C: EHLO [192.168.0.13] mailnews.smtp: S: 250-smtp.gmail.com at your service, [76.14.114.140] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250-SMTPUTF8 250 LIMITS MAILMAX=1000 RCPTMAX=100 mailnews.smtp: Possible auth methods: XOAUTH2 mailnews.smtp: Current auth method: XOAUTH2 mailnews.smtp: Authentication via AUTH XOAUTH2 mailnews.smtp: NetworkTimeoutError: a Network error occurred mailnews.smtp: Socket closed. mailnews.smtp: Authentication failed: Socket closed. mailnews.smtp: SecurityError info: mailnews.smtp: SecurityError cert chain: smtp.gmail.com; serial# 00:D7:53:77:97:B5:AA:BE:6B:09:7A:BC:3C:B4:F3:03:C2 <- WE2; serial# 7F:F3:2D:6B:40:9D:15:D5:96:5B:05:87:3A:7C:72:E0 <- GTS Root R4; serial# 7F:E5:30:BF:33:13:43:BE:DD:82:16:10:49:3D:8A:1B mailnews.send: Sending failed; Az üzenet küldése sikertelen, mert a levélküldő (SMTP) kiszolgálóval (smtp.gmail.com) való kapcsolat időtúllépés miatt megszakadt. Próbálja újra., exitCode=2152398862, originalMsgURI= GenericSendMessage FAILED: Sending FAILED! NS_ERROR_NET_TIMEOUT: Sending FAILED! mailnews.smtp: Server did not close after QUIT within 5s, tearing it down ourselves. mailnews.smtp: Connection to smtp.gmail.com closed

If I try again, I get the same sequence of messages every time.

If I try to send a message via GMail, after waiting for a while, I get an error message saying that the connection failed due to timeout. I'm using the default servers set by the GMail account setup wizard (smtp.gmail.com, port 465, encryption SSL/TLS, auth method OAuth2). Receiving emails works fine. The console shows the following: mailnews.smtp: New SmtpClient instance created mailnews.smtp: Connecting to smtp://smtp.gmail.com:465 mailnews.smtp: Connected mailnews.smtp: S: 220 smtp.gmail.com ESMTP 5a478bee46e88-382a72eb2f3sm2256287eec.18 - gsmtp mailnews.smtp: C: EHLO [192.168.0.13] mailnews.smtp: S: 250-smtp.gmail.com at your service, [76.14.114.140] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250-SMTPUTF8 250 LIMITS MAILMAX=1000 RCPTMAX=100 mailnews.smtp: Possible auth methods: XOAUTH2 mailnews.smtp: Current auth method: XOAUTH2 mailnews.smtp: Authentication via AUTH XOAUTH2 mailnews.smtp: NetworkTimeoutError: a Network error occurred mailnews.smtp: Socket closed. mailnews.smtp: Authentication failed: Socket closed. mailnews.smtp: SecurityError info: mailnews.smtp: SecurityError cert chain: smtp.gmail.com; serial# 00:D7:53:77:97:B5:AA:BE:6B:09:7A:BC:3C:B4:F3:03:C2 <- WE2; serial# 7F:F3:2D:6B:40:9D:15:D5:96:5B:05:87:3A:7C:72:E0 <- GTS Root R4; serial# 7F:E5:30:BF:33:13:43:BE:DD:82:16:10:49:3D:8A:1B mailnews.send: Sending failed; Az üzenet küldése sikertelen, mert a levélküldő (SMTP) kiszolgálóval (smtp.gmail.com) való kapcsolat időtúllépés miatt megszakadt. Próbálja újra., exitCode=2152398862, originalMsgURI= GenericSendMessage FAILED: Sending FAILED! NS_ERROR_NET_TIMEOUT: Sending FAILED! mailnews.smtp: Server did not close after QUIT within 5s, tearing it down ourselves. mailnews.smtp: Connection to smtp.gmail.com closed If I try again, I get the same sequence of messages every time.

All Replies (1)

You might try increasing the timeout setting:

  1. click to settings>general
  2. scroll to the bottom and, on the right, is 'config editor'. click that
  3. enter this: mailnews.tcptimeout
  4. I think you will see the default setting is 100. Change to 250 or higher save and exit
  5. restart thunderbird
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.