为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

add gmail account

  • 1 个回答
  • 0 人有此问题
  • 最后回复者为 Toad-Hall

more options

I want to add a G mail account but it keeps giving me a STP flag saying password rejected. I can open my g amil account using pass word?

I want to add a G mail account but it keeps giving me a STP flag saying password rejected. I can open my g amil account using pass word?

由Wayne Mery于修改

所有回复 (1)

more options

You need to make sure a few things are set up correctly in order to create a gmail account.

1. Firewall - Thunderbird must be listed/set up as an allowed program.

2. VPN Any VPN must be switched off otherwise gmail thinks you might be a hacker because of the attempt to hide your IP address.

3. localhost Some people maintain their own websites etc. If you use any programs that use the localhost such as Apache Xampp then you must switch them off whilst setting up Oauth token.

4. Access Webmail account via a browser If you have switched on 2 factor authentication then you need to make a decision. Either - switch it off so you can set up gmail account to use 'Authentication Method : Oauth2' OR - leave it switched on and create an app specific password. Then in Thunderbird use 'Authentication Method: Normal Password' for incoming and smtp server settings and when asked for password you enter the app specific password.

AS I'm not sure what type of account you want to create whilst in webmail account make sure you have enabled anything required. So if you want to use POP: https://support.google.com/mail/answer/7104828?hl=en-GB


5. In Thunderbird you must allow cookies. So check the settings.

  • Settings > Privacy & Security
  • Under 'Web content'
  • Select checkbox 'Accept cookies from sites'
  • Accept third party cookies 'Always'
  • Click on 'Exceptions...' button
  • Add the following and set it to 'Allow' : https://accounts.google.com
  • click on 'Save Changes'


6. To create a gmail account in Thunderbird:

  • Menu app icon > New Account > Email
  • Enter: Name, gmail email address, Password

That's the same password you use when you logon to webmail account BUT....Note: if you have switched on 2 factor authentication then it requires the app specific password instead of the normal one.

  • Select checkbox : 'Remember password'
  • Click on 'Continue'

By default Thunderbird will look for IMAP server settings and assume 2 factor authentication is switched off and therefore uses 'Authentication Method: Oauth2'.

Server Settings: IMAP

  • Server name: imap.gmail.com
  • Port: 993
  • Connection Security: SSL/TLS
  • Authentication Method: Oauth2
  • Username: full gmail email address

SMTP

  • DEscription: full gmail email address
  • Server name: smtp.gmail.com
  • Port: 465
  • Connection Security: SSL/TLS
  • Authentication Method: Oauth2
  • Username: full gmail email address


So, if you want POP protocol OR want to use gmail 2 factor authentication, then you have to modify the server settings - click on 'Configure Manually' button.

Protocol : POP

  • Server name: pop.gmail.com
  • Port: 995
  • Connection Security: SSL/TLS
  • Authentication Method: Oauth2
  • Username: full gmail email address

IF you want to use 2 factor authentication which uses an app specific password, then you must alter/edit the 'Authentication Method:' to use setting 'Normal Password'. This applies to Pop, Imap and SMTP Authentication Method.

Click on 'Re Test' or 'Done' as appropriate.

If set up to use 'Authentication MEthod' Oauth then you will get a prompt by google to logon using normal password and then another window to 'Allow' Thunderbird access to server.

由Toad-Hall于修改

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题