解决Gmail登录失败时Invalid credentials错误问题
今天git sendmail(gmail)出现如下错误:
Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
5.7.8 Username and Password not accepted. Learn more at
5.7.8 https://support.google.com/mail/?p=BadCredentials z14sm5898723pgj.43 - gsmtp
打开Win下一个客户端看了下也有错误:
[11:09:18] IMAP< Invalid credentials (Failure)
** IMAP error on imap.gmail.com: LOGIN error
[11:09:18] IMAP< Error logging in to imap.gmail.com
以前都是ok的,估计server端问题,可以修改Google账户配置:
step1: 登录Google账户点击导航栏中Security,如下图:
step2: 页面下方Less secure app access面板打开即可如下图:
ps: 图上是已经打开的。
wait a min then try again, git sendmail and client are all ok now in my side:)
本站采用CC BY-NC-SA 4.0进行许可 | 转载请注明原文链接 - 解决Gmail登录失败时Invalid credentials错误问题