to use this:
- download the "Automatically forward SMS messages to your PC/phone" android app.
- Follow the step by step process to set it up.
- In the settings, change the method of sending SMS messages to email from "through server" to "Via Gmail API".
- Open your Xampp and go to php settings, find the "extension_dir="C:\xampp\php\ext"" line and remove the semicolon at the begining.
- Open the check.php file and change the email and password ($username = 'your email here'; $password = 'your password here';)
- Set up your databse and match it with the SQL query.