I'm currently using D7. When my users attempt to request a password reset, 95% of the time, these reset emails land in their spam, or are blocked by whomever their email provider is. That being said, I'm looking to implement a way for my user to regain access to their account by receiving this password reset link via SMS instead.
Currently, my site collects the user's phone number on registration, and I have the Twilio module installed. All of that said, there doesn't seem to be a Drupal Rule that I can execute for "When anonymous user requests password reset".
Ideally, I'd like to have a Drupal rule search my user list for the user that contains the input email, and then simply send the generated password reset link to the phone number on file (also attached to the found User's account).
Is this possible?
these reset emails land in their spam, or are blocked by whomever their email provider is
I use Zoho TrasnMail lands on the inbox every time. Unfortunately, it's not compatible with the SMTP module. I had to create a custom module (D8) that interacts with their API. Maybe in the future when I find time I'll post it as contrib module on drupal.org