php send email from localhost xampp code example
Example: send mail using php mail function on localhost using xampp server
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = YourGmailId@gmail.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"