how to send mail from xampp localhost by a gmail account

360 views Asked by At

Config settings in Xampp to send mails through gmail account

I am getting

`Socket Error # 10061<EOL>Connection refused`

php.ini settings

`SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = [email protected]
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"`

sendmail.ini settings

smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log debug_logfile=debug.log [email protected] auth_password=my-gmail-password [email protected]

0

There are 0 answers