... have to edit php.ini and change the Email Settings in order to use the sendmail.exe program, that comes with Xampp. In that sendmail program, you ... Sending Emails from private PCs is a difficult job and you have to configure all these things very precisely, otherwise it wont work.