I have a small app with a working LoginActivity. I now want to develop a Fragment for this activity that will handle helping the user to create a new password if it has been forgotten. I have seen some people using PHP/MySQL for this, but I was wondering if it is possible to use Java/SQLite to accomplish the same goal?
Expected functionality:
- User clicks forgot password link
- Sent to ForgotPass_Fragment which asks/verifies a user's email.
- If it is a valid email, email the user the code/new temp password
I guess the real question is if I can use Java to send an email to the user with the newly generated info rather than using PHP or some other language? Would something like this be the best practice?