login - Forgot password php prevent too many emails being sent -
Currently my users can send emails repeatedly using forgotten password links. How can I prevent it from spamming? I already have a reCAPTCHA.
Two thoughts:
- First of all, make sure that the email address Exists in your database, which is to prevent your site from spamming people who do not have an account on your site
- Secondly, do not allow 1 to 2 mail per day for each email address Sent on
- or do not allow more than 2-3 mails to be sent to an e-mail address; And reset the counter when the password is changed by the user.
- or do not allow more than 2-3 mails to be sent to an e-mail address; And reset the counter when the password is changed by the user.
Comments
Post a Comment