Sending email using xampp localhost

2020-08-09 04:31发布

问题:

Please help me send email using php, I searched trough google and found out that I need to reconfigure/edit my php.ini and change SMTP value and smtp_port,

I dont know what exactly what will I put on those lines.

Thanks for helping!

回答1:

It would be a lot easier to use a phpmailer script like this, but you can also do it without that by setting: smtp_ssl = ssl and configure the sendmail.ini so that it connects with your @gmail.com account credentials, or it will not be able to connect.