Gmail 535-5.7.8 Username and Password not accepted
535-5.7.8 Username and Password not accepted 错误 Gmail 535-5.7.8 Username and Password not accepted 使用谷歌账号发邮件时,如果出现 “535-5.7.8 Username and Password not accepted” 错误,意思为:“不接受的用户名和密码”,如果需要使用谷歌账号来发送邮件,需要开放权限。 解决办法:请到谷歌邮件账号设置 Less secure apps 中,确认 “Enforce access to less secure apps for all users (Not Recommended)” 是否开启了配置链接 ,注意,需要管理员身份 参考 https://stackoverflow.com/questions/23137012/535-5-7-8-username-and-password-not-accepted 相关文章:java发送邮件