Auth Email限制Firebase Free帐户中的密码重置

时间:2019-04-16 21:52:19

标签: firebase firebase-authentication

我正在使用Angular和Firebase来建立一个新的应用程序。我仅使用身份验证系统。但是就像Firebase文档中所说的那样,每天只能发送150封电子邮件来重置密码。

https://firebase.google.com/docs/auth/limits#email_limits

我有两个问题:

1)如果用户发送了垃圾邮件“恢复密码”按钮(使用功能 sendPasswordResetEmail()),它会消耗此电子邮件限制吗?如果是,该如何预防? (文档: https://firebase.google.com/docs/reference/js/firebase.auth.Auth.html#sendpasswordresetemail

2) Firebase项目设置中的SMTP参数(自己的服务器或其他邮件服务)是否使用电子邮件限制?

1 个答案:

答案 0 :(得分:1)

The 150 emails per day for passwords resets limit applies to emails sent through Google's mail servers. If requests are identified as spam, and email doesn't get sent, they don't count. If spam requests are not identified and email is sent, it does get counted. If you're running into spam problems and hit this (or other limits) because of that, reach out to Firebase support for personalized help in troubleshooting

The limit is on emails sent through Google's mail servers, if you use your own mail server, the limit doesn't apply.