[英]Gmail SMTP server stopped working as it no longer support "Less Secure Apps"
I am working on Laravel project and suddenly emails stopped working.我正在从事 Laravel 项目,突然电子邮件停止工作。 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.
搜索后,我发现 Google 停止了对安全性较低的应用程序的支持,现在我不再在“我的帐户”中看到启用或禁用它的选项。
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这是我找到的更详细的链接 - https://support.google.com/accounts/answer/6010255
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 设置
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.