Thanks everyone😃
It finally works.
Below is an update of what i did:
the phpinfo() shows:
Configuration File (php.ini) Path C:\xampp\apache\bin\php.ini
which is the file that i configured..then i tried running the mail() script again...and the mail actually reaches the targeted inbox
ok, i think my problem in the first place is, i didn't restart my system after configurating the php.ini..then i shut down my computer and take a break (which is a right decision to make🙂 )
After i restart the computer, read your posts and give it a try..it works :p
Thanks for the help again, guys