Can't use gmail (Mac)

User Help for Mozilla Thunderbird
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Can't use gmail (Mac)

Post by ralphot »

It's impossible to get a gmail-account to work on Thunderbird.
My version is 102.3.0.

What can I do?
Last edited by DanRaisch on September 24th, 2022, 5:00 am, edited 1 time in total.
Reason: (Mac) added to Subject line.
User avatar
DanRaisch
Moderator
Posts: 127222
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Can't use gmail

Post by DanRaisch »

Absolutely. What error are you seeing when trying to access your Gmail account? Is that a personal or business account?
What settings are you using?
Without posting your full email address, what settings do you have under menu path Tools->Account Settings Server Settings:
Server name:
Port # :
User name : (Is it your full name or just the bit before the @ symbol)
Connection Security:
Authentication Method:
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail

Post by ralphot »

Ok, thanks.
Running on Mac.
Personal account.
What happens is that I'm getting "Login to xxx@gmail.com failed" I have to give the password again
and that goes on and on.

Server name: imap.gmail.com
Port #: 993
User name: xxx@gmail.com
Connection security: SSL/TLS
Auth. method: Password

I have checked the password by logging in at gmail with it and it works fine but not i TB.
I also downloaded Microsoft Outlook and register the account there with no problem.
IMAP is activated in Gmal ok.
So...
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail

Post by ralphot »

If I choose OAuth2 instead of password I'm getting a large form from GOOGLE to give the password for the account
and then ask to allow TB to different things.....
I do that but it comes back and ask again, over and over........
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can't use gmail

Post by tanstaafl »

You can't use "normal password" as the authentication method anymore. You need to use OAuth2 with Gmail nowadays. That requires cookies be enabled for google.com in order to create the token. Cookies are enabled by default. Note that the OAuth2 popup window is not displayed by your systems browser, its displayed by Thunderbird.

Running anything with a local proxy (other than a anti-virus scanner) or a web server installed on your PC sometime interferes with the last steps of the OAuth2 popup's sequence.

If you have Gmail's two step verification enabled you need to create a application specific password for Thunderbird using the google.com web site and use that password instead of the normal password. Typically you'd only have that enabled if you're trying to make your smart phone more secure.
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail

Post by ralphot »

Ok, I've done Gmail's two step verification enabled and I'm not getting any more logins apart for those that needed to get it "right".
But I'm not getting any emails to the account on TB. Only in where I'm logged in at Gmail on Google.
I'm on a Mac.
My settings: https://imgur.com/LNsJmKH
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can't use gmail (Mac)

Post by tanstaafl »

Are you using a application specific password in Thunderbird (due to using two step verification)?

Do you see a empty inbox in Thunderbird or do you see existing old messages but never get notified of new ones ....?
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail (Mac)

Post by ralphot »

I Dont see any old messages, all is empty.
I've deleted the account and creating again.
This is the first: https://imgur.com/x1cwiym
Then: https://imgur.com/x1pzUSv
After pressed OK:https://imgur.com/PAW8XWQ I give the password again, then: https://imgur.com/FCRc7nV verification code.
Then: https://imgur.com/fipc3wC "Can not login to the server....."
If I try config manually and advanced I'm getting the account into TB but keep getting the login and verification all the time.

So I don't know.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can't use gmail (Mac)

Post by tanstaafl »

I have trouble understanding the third screen shot. I don't even know what language its in. What is it about?

Did you get the google.com account popup (due to the new account wizard enabling OAuth2 as the authentication method) that asked permission for Thunderbird to access your account?

Did it claim to succeed and grant Thunderbird permission to access your mail, calendar etc.?

If you look in tools -> settings -> privacy & security -> show cookies does it list any cookies for google.com?
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail (Mac)

Post by ralphot »

tanstaafl wrote:I have trouble understanding the third screen shot. I don't even know what language its in. What is it about?

Did you get the google.com account popup (due to the new account wizard enabling OAuth2 as the authentication method) that asked permission for Thunderbird to access your account?

Did it claim to succeed and grant Thunderbird permission to access your mail, calendar etc.?

If you look in tools -> settings -> privacy & security -> show cookies does it list any cookies for google.com?
Thanks for your support from Ralph in Sweden!
The third screen shot (Swedish), that's the verification code I got on SMS, six digit number, after I put password here: https://imgur.com/PAW8XWQ , part of the two-factor, telephone number.
Second and third question, yes, came after I put password and verify number after this: https://imgur.com/PAW8XWQ
Forth question, no there is no cookie from Google.
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail (Mac)

Post by ralphot »

ralphot wrote:
tanstaafl wrote:I have trouble understanding the third screen shot. I don't even know what language its in. What is it about?

Did you get the google.com account popup (due to the new account wizard enabling OAuth2 as the authentication method) that asked permission for Thunderbird to access your account?

Did it claim to succeed and grant Thunderbird permission to access your mail, calendar etc.?

If you look in tools -> settings -> privacy & security -> show cookies does it list any cookies for google.com?
Thanks for your support from Ralph in Sweden!
The third screen shot (Swedish), that's the verification code I got on SMS, six digit number, after I put password here: https://imgur.com/PAW8XWQ , part of the two-factor, telephone number.
Second and third question, yes, came after I put password and verify number after this: https://imgur.com/PAW8XWQ
Forth question, no there is no cookie from Google.
I was trying with using app password, but no luck.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Can't use gmail (Mac)

Post by tanstaafl »

Its hard to help you without knowing how far you got in the sequence to create a OAuth2 token. That is why I asked you the last three questions.
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail (Mac)

Post by ralphot »

tanstaafl wrote:Its hard to help you without knowing how far you got in the sequence to create a OAuth2 token. That is why I asked you the last three questions.
Well, I'm getting the Google login page, I give the password and click login. Then I'm getting the page asking for verification code that i got on my telephone. I'm entering that and click finish. Then I get a message that Thunderbird wants to access certain things. I click allow.

Then all is quite until I try to access the account. Everything starts over again with Google login page and all.

So I don't know what to do more? create a OAuth2 token? Where do I do that??
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail (Mac)

Post by ralphot »

If you look just after your three questions, I was giving you all the answers.
ralphot
Posts: 13
Joined: September 23rd, 2022, 7:28 am

Re: Can't use gmail (Mac)

Post by ralphot »

I'm trying with a new gmail account, but same problem.
After I presented Google password and verify number I got this: https://imgur.com/a/Oh9jrgS. (In english this time)
Seems impossible. https://imgur.com/a/84uzuRQ

I have the right password and all settings seems to be right but still NO.
Last edited by ralphot on September 26th, 2022, 3:18 am, edited 1 time in total.
Post Reply