我在AWS上通过SMTP发送电子邮件。定期谷歌阻止访问,我收到如下电子邮件:
Sign-in attempt was blocked
xxx@gmail.com
Someone just used your password to try to sign in to your account. Google blocked them, but you should check what happened.
然后我更改了电子邮件密码并在AWS中更新,并且发送电子邮件再次开始工作,直到谷歌下次阻止AWS访问。我尝试在我的安全设置中启用访问不太安全的应用程序,但这对我没有用。是否存在从AWS启用SMTP访问的永久解决方案?