Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Lost IMAP & SMTP connections between Thunderbird and Gmail

  • 4 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: bob280

more options

I have lost my IMAP and SMTP connections between Thunderbird v91.9.0 on Windows 10 and two Gmail accounts. One is a standard @gmail.com account and the other is an @my_domain account on Google Workspace. The experience is (almost) the same on both.

Any help would be greatly appreciated.

When I try to read IMAP mail through Thunderbird, I'm presented with a pop-up (apparently from Google) to log into the gmail account with the email address pre-populated in the "Enter your email" field. Curiously, the email address for the Google Workspace account is broken into two parts with the user name left justified in the field, the @my_domain right justified and a gap between them. This is not true for the standard @gmail.com account, where the field is prepopulated with a left justified username@gmail.com. I click the "Next" button and an "Enter your password pop-up (apparently from Google) appears, into which I enter the password and click "Next".

Then I see a pop-up (apparently from Google) which says "Mozilla Thunderbird Email wants to access your Google Account", with "Allow" and "Cancel" buttons. I click "Allow" and often (but not always) see a small pop-up (apparently from Thunderbird) which says "Authentication failure while connecting to server imap.gmail.com".

The experience on the sending side through SMTP is similar. Upon clicking "Send" in Thunderbird, I'm presented with the same sequence of pop-ups (apparently from Google) to enter Google user name, password and permission to allow Thunderbird to access my email. Then there is a "sending message" pop-up (apparently from Thunderbird) which never completes.

Here are what I think are the relevant Thunderbird settings --

 Thunderbird settings for user@my_domain.com
   IMAP server: imap.gmail.com        
   IMAP port: 993        
   User name: user@my_domain.com        
   Connection security: SSL/TLS        
   Authentication method: OAuth2        
               
   SMTP server: smtp.gmail.com        
   SMTP port: 465
   Connection security: SSL/TLS        
   Authentication method: OAuth2        
   User name: user@my_domain.com        
           
 Thunderbird settings for user@gmail.com
   IMAP server: imap.gmail.com        
   IMAP port: 993        
   User name: user@gmail.com        
   Connection security: SSL/TLS        
   Authentication method: OAuth2        
               
   SMTP server: smtp.gmail.com        
   SMTP port: 465
   Connection security: SSL/TLS        
   Authentication method: OAuth2        
   User name: user@gmail.com        
               
 Thunderbird Preferences            
   Accept cookies from sites: Checked        
   Accept third-party cookies: Always        
   Exceptions: https:accounts.google.com -- Allow        

Here are what I think is the relevant Gmail setting --

  IMAP is enabled
I have lost my IMAP and SMTP connections between Thunderbird v91.9.0 on Windows 10 and two Gmail accounts. One is a standard @gmail.com account and the other is an @my_domain account on Google Workspace. The experience is (almost) the same on both. Any help would be greatly appreciated. When I try to read IMAP mail through Thunderbird, I'm presented with a pop-up (apparently from Google) to log into the gmail account with the email address pre-populated in the "Enter your email" field. Curiously, the email address for the Google Workspace account is broken into two parts with the user name left justified in the field, the @my_domain right justified and a gap between them. This is not true for the standard @gmail.com account, where the field is prepopulated with a left justified username@gmail.com. I click the "Next" button and an "Enter your password pop-up (apparently from Google) appears, into which I enter the password and click "Next". Then I see a pop-up (apparently from Google) which says "Mozilla Thunderbird Email wants to access your Google Account", with "Allow" and "Cancel" buttons. I click "Allow" and often (but not always) see a small pop-up (apparently from Thunderbird) which says "Authentication failure while connecting to server imap.gmail.com". The experience on the sending side through SMTP is similar. Upon clicking "Send" in Thunderbird, I'm presented with the same sequence of pop-ups (apparently from Google) to enter Google user name, password and permission to allow Thunderbird to access my email. Then there is a "sending message" pop-up (apparently from Thunderbird) which never completes. Here are what I think are the relevant Thunderbird settings -- Thunderbird settings for user@my_domain.com IMAP server: imap.gmail.com IMAP port: 993 User name: user@my_domain.com Connection security: SSL/TLS Authentication method: OAuth2 SMTP server: smtp.gmail.com SMTP port: 465 Connection security: SSL/TLS Authentication method: OAuth2 User name: user@my_domain.com Thunderbird settings for user@gmail.com IMAP server: imap.gmail.com IMAP port: 993 User name: user@gmail.com Connection security: SSL/TLS Authentication method: OAuth2 SMTP server: smtp.gmail.com SMTP port: 465 Connection security: SSL/TLS Authentication method: OAuth2 User name: user@gmail.com Thunderbird Preferences Accept cookies from sites: Checked Accept third-party cookies: Always Exceptions: https:accounts.google.com -- Allow Here are what I think is the relevant Gmail setting -- IMAP is enabled

선택된 해결법

There is some relevant information here https://support.mozilla.org/en-US/kb/automatic-conversion-google-mail-accounts-oauth20

You may not be an automatic update, but the issues are the same.

The other thing to note is that if you have other software running which monitors the localhost adaptor on port 443 you might have to disable that software to complete the authentication process. I have heard of various development tools and the Apache product line being involved. (Joys of being a developer I guess.)

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (4)

more options

선택된 해결법

There is some relevant information here https://support.mozilla.org/en-US/kb/automatic-conversion-google-mail-accounts-oauth20

You may not be an automatic update, but the issues are the same.

The other thing to note is that if you have other software running which monitors the localhost adaptor on port 443 you might have to disable that software to complete the authentication process. I have heard of various development tools and the Apache product line being involved. (Joys of being a developer I guess.)

more options

That was it! I run the XAMPP package for testing which includes an Apache server configured with "apache_server_ssl_port=443" and "ApacheSSL=443". When I stopped the server everything started working, both inbound and outbound on both accounts. I don't know much about configuring Apache (and even less about ports), but I'm hoping that I can get away with commenting these out because I don't use SSL on this test server.

Thank you, Matt. I would have never figured this out in a million years.

more options

Once the setup and authentication is complete, just restart the server. That passing of information via localhost is only ever done the once.

Subsequent token refreshes are done without the need of web pages and cumbersome process of getting the information from the web page back into Thunderbird via localhost.

more options

Works perfectly with the server running.

Thanks again.