A few XAMPP configuration points to send the email from PHP by using gmail account,
firstname.lastname@example.org (your gmail account)
sendmail_path = “\”D:\PHP\xampp\sendmail\sendmail.exe\” -t”
3, gmail account sign-in & security setting,
set Allow less secure apps: ON
If this is not set, the sending email will fail.
2723total visits,2visits today