how to send mail from localhost xampp using gmail code example
Example 1: send email xampp
Go to C:\xampp\php [mail function]
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = [email protected]
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
Example 2: send email xampp
C:\xampp\sendmail [sendemail]
smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
[email protected]
auth_password=Your-Gmail-Password
[email protected](optional)