Default configuration of XAMPP do not allow to send emails through localhost. Here is the configuration for XAMPP to send email using a gmail account. First you need to upgrade sendmail to the latest version. go to http://glob.com.au/sendmail/ and download sendmail.zip backup files in xampp/sendmail/…
PHP
1 Article