Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Adding a Google Apps for Education Account with OAuth2

  • 2 个回答
  • 2 人有此问题
  • 22 次查看
  • 最后回复者为 deisner

more options

I'm helping a friend setup Thunderbird with a Google Apps for Education (GAFE) GMail account (https://www.google.com/edu/products/productivity-tools/).

He would normally log into his GAFE Gmail account in a web browser using userid@university.edu as the username, and using his university directory password. The login process uses OAuth2 to authenticate the user.

Here's the problem. When I create a new account in Thunderbird, the Mail Account Setup dialog provides OAuth2 as an option in the Authentication drop-down only if the email address is something@gmail.com. As soon as I edit the Email address field to userid@university.edu, the dialog resets -- as soon as I delete a single character, in fact. It's quite jarring -- all the configuration fields simply disappear. You can see this in the two dialog screenshots I'm attaching. And if I begin the process by using userid@university.edu, I don't see OAuth2 listed at all.

I tried using a bogus gmail email address. I can then enter the correct username (userid@university.edu) in the OAuth2 dialog. Then I can change the email address back to the correct value in the Thunderbird account settings. But this doesn't work -- I get an error that "The current operation on 'Inbox' did not succeed. ... Unknown command e108mb...." when I try to actually download mail.

How can I get this working? Thanks.

I'm helping a friend setup Thunderbird with a Google Apps for Education (GAFE) GMail account (https://www.google.com/edu/products/productivity-tools/). He would normally log into his GAFE Gmail account in a web browser using userid@university.edu as the username, and using his university directory password. The login process uses OAuth2 to authenticate the user. Here's the problem. When I create a new account in Thunderbird, the Mail Account Setup dialog provides OAuth2 as an option in the Authentication drop-down only if the email address is something@gmail.com. As soon as I edit the Email address field to userid@university.edu, the dialog resets -- as soon as I delete a single character, in fact. It's quite jarring -- all the configuration fields simply disappear. You can see this in the two dialog screenshots I'm attaching. And if I begin the process by using userid@university.edu, I don't see OAuth2 listed at all. I tried using a bogus gmail email address. I can then enter the correct username (userid@university.edu) in the OAuth2 dialog. Then I can change the email address back to the correct value in the Thunderbird account settings. But this doesn't work -- I get an error that "The current operation on 'Inbox' did not succeed. ... Unknown command e108mb...." when I try to actually download mail. How can I get this working? Thanks.
已附加屏幕截图

被采纳的解决方案

For what it's worth, here is how I got it working. This is with Thunderbird 45.0.

1. If the Mail Account Setup dialog doesn't appear automatically after installation, press the Alt key, then File -> New -> Existing mail account. Enter your email address as "fake@gmail.com". It doesn't matter what appears before the '@' symbol, because you are going to change this later.

2. Press Continue, wait for "Configuration found in Mozilla ISP database, and then press "Manual Config".

3. Do *not* change the "Email address" field in this dialog. As soon as you edit it, the dialog will reset itself.

4. Change the Username field for both Incoming and Outgoing at the bottom of the dialog to "youruserid@university.edu".

5. Press the "Advanced config" button, which will open a new dialog.

6. Click on the "fake@gmail.com" node at the root of tree on the left and then change Account Name to "University Gmail" or whatever you prefer, and change he Email address to "youruserid@university.edu".

7. Verify the settings in the "Outgoing Server (SMTP)" tree node. User Name should be "youruserid@university.edu".

8. Press "OK" to close the dialog.

9. You will be returned to Thunderbird main window. Press the "Inbox" node under the new account, and an authentication dialog with an embedded web page should appear. If it says "Sign in with your Google Account" you will need to first change the pre-filled username in the dialog from "fake@gmail.com" to "youruserid@university.edu" and then press Next.

10. Choose "Organizational Google Apps Account" when asked.

11. Login at your university authentication page (which appears as a web page inside a Thunderbird dialog).

12. Allow Thunderbird to view and manage your mail, when asked.

That's it.

定位到答案原位置 👍 4

所有回复 (2)

more options
And if I begin the process by using userid@university.edu, I don't see OAuth2 listed at all.
I'm surprised by that. I use a work-based gmail account that doesn't explicitly name gmail as the domain and it works just fine with OAuth2.
more options

选择的解决方案

For what it's worth, here is how I got it working. This is with Thunderbird 45.0.

1. If the Mail Account Setup dialog doesn't appear automatically after installation, press the Alt key, then File -> New -> Existing mail account. Enter your email address as "fake@gmail.com". It doesn't matter what appears before the '@' symbol, because you are going to change this later.

2. Press Continue, wait for "Configuration found in Mozilla ISP database, and then press "Manual Config".

3. Do *not* change the "Email address" field in this dialog. As soon as you edit it, the dialog will reset itself.

4. Change the Username field for both Incoming and Outgoing at the bottom of the dialog to "youruserid@university.edu".

5. Press the "Advanced config" button, which will open a new dialog.

6. Click on the "fake@gmail.com" node at the root of tree on the left and then change Account Name to "University Gmail" or whatever you prefer, and change he Email address to "youruserid@university.edu".

7. Verify the settings in the "Outgoing Server (SMTP)" tree node. User Name should be "youruserid@university.edu".

8. Press "OK" to close the dialog.

9. You will be returned to Thunderbird main window. Press the "Inbox" node under the new account, and an authentication dialog with an embedded web page should appear. If it says "Sign in with your Google Account" you will need to first change the pre-filled username in the dialog from "fake@gmail.com" to "youruserid@university.edu" and then press Next.

10. Choose "Organizational Google Apps Account" when asked.

11. Login at your university authentication page (which appears as a web page inside a Thunderbird dialog).

12. Allow Thunderbird to view and manage your mail, when asked.

That's it.