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 send mail through gmail despite being on v38 / oauth2

more options

version 38+ of Thunderbird was supposed to solve the problem with authenticating / connecting to gmail by adding support for OAuth v2.0. Unfortunately, I can still not send messages from any gmail account connected to Thunderbird. My account settings are as follows:

IMAP server: imap.googlemail.com:993 security: SSL/TLS auth method: OAuth2 user: (full gmail address)

SMTP server: smtp.googlemail.com:465 security: SSL/TLS auth method: OAuth2 user: (full gmail address)

At the first connection attempt, Thunderbird presented me with the OAuth login screen, where I was asked to enter my gmail password. After this, Thunderbird shows up in the list of connected devices in the google account settings for this gmail account. So it seems the new authorization flow via OAuth 2.0 seems to work, and yet I can only read incoming email, but can't send mail.

When I hit send on a message, Thunderbird very briefly shows a separate window / interface (I can't make out what it is, I assume it has to do with the oauth functionality), then hangs at "connecting to smtp.googlemail.com...' and after a while declares a timeout.

Sending mail through the gmail web interface and from connected android devices works fine.

I have left the setting "Allow less secure apps to access your account" set to Yes, even though Thunderbird is now connecting via OAuth 2, to eliminate that as the potential cause.

Any help appreciated, I want to continue using Thunderbird with gmail.

version 38+ of Thunderbird was supposed to solve the problem with authenticating / connecting to gmail by adding support for OAuth v2.0. Unfortunately, I can still not send messages from any gmail account connected to Thunderbird. My account settings are as follows: IMAP server: imap.googlemail.com:993 security: SSL/TLS auth method: OAuth2 user: (full gmail address) SMTP server: smtp.googlemail.com:465 security: SSL/TLS auth method: OAuth2 user: (full gmail address) At the first connection attempt, Thunderbird presented me with the OAuth login screen, where I was asked to enter my gmail password. After this, Thunderbird shows up in the list of connected devices in the google account settings for this gmail account. So it seems the new authorization flow via OAuth 2.0 seems to work, and yet I can only read incoming email, but can't send mail. When I hit send on a message, Thunderbird very briefly shows a separate window / interface (I can't make out what it is, I assume it has to do with the oauth functionality), then hangs at "connecting to smtp.googlemail.com...' and after a while declares a timeout. Sending mail through the gmail web interface and from connected android devices works fine. I have left the setting "Allow less secure apps to access your account" set to Yes, even though Thunderbird is now connecting via OAuth 2, to eliminate that as the potential cause. Any help appreciated, I want to continue using Thunderbird with gmail.

All Replies (4)

more options

Can you get a screen shot of the error. Do your smtp settings look like this screen shot?

more options

caffeinated, did you get it sorted out?

more options

Wayne Mery said

Can you get a screen shot of the error. Do your smtp settings look like this screen shot?
more options

Can't read your screen shot. Font too small.

The error code is Timestamp: 11/29/15, 7:36:06 PM Error: uncaught exception: 2147746065

Using El Capitan on MacBook Air. Gmail has two step verification