Gmail SMTP服务器停止工作,因为它不再支持“不太安全的应用”。
我正在从事Laravel项目,突然电子邮件停止工作。搜索后,我发现Google停止了对不太安全的应用程序的支持,现在我不再看到在我的帐户中启用或禁用它的选项。
但是现在我不确定如何使其再次工作,因为我在Internet上搜索的所有结果都与旧方法有关。我想让它在Localhost上工作。
这是我发现的更详细的链接-e https://support.google.com/acccounts/accounts/answer/ 6010255
I am working on Laravel project and suddenly emails stopped working. After searching I figured out that Google as stopped support for Less Secure Apps and now I no longer see the option to enable or disable it in My Account.
But now I'm not sure how to make it working again as all the results that I search on internet are related to the old method. I want to make it working on localhost.
Here is more detailed link which I found - https://support.google.com/accounts/answer/6010255
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,在删除Google选项后,它无法正常工作。但是没什么可担心的!发送电子邮件仍然非常简单。要再次发送电子邮件,您需要作为Bellow进行此操作:
现在,您可以仅使用电子邮件,然后生成的通过来发送电子邮件。
Yes, It's not working after removing the option by google. But nothing to worry! It's still very simple to send email. To send email again you need to do this as bellow:
Now you can use just email and this generated pass to send email.
您需要在设置中启用2个因子身份验证(与查看不太安全的应用程序相同的位置),然后一旦您可以看到一个称为应用程序密码的新选项 - 然后您可以创建一个应用程序密码SMTP设置
You need to enable 2 factor authentication in your settings (same place you used to see the less secure apps) then once you enable that you will see a new option called App Passwords - you can then create a app password that you would use for the SMTP settings