I'm trying to send an email with my php script which already works in live server but I also want to be able to send email from my localhost. Basically I'm using Xampp and on php.ini I searched for sendmail_path and then  make it out of comment by removing the ; and it is set to sendmail_path = "sendmail -t -i".
But I don't know why it does not work !!
So do you know what's going wrong ?! If you do please let me know ,I really appreciate that.. thanks.