+ 1

Mail () Failed to connect to mailserver at localhost

Ever since I installed XAMPP with PHP 7, i am unable to send emails from my PHP web applications. The mail() function was doing fine with PHP 5. What could be the issue. I keep getting "verify your SMTP and smtp_port setting in php.ini" I am not sure what I should do there because it used to work just fine with php5. I am using Windows. Thanks

23rd Jul 2017, 8:19 PM
John Clinton Mwangi
John Clinton Mwangi - avatar
1 Respuesta
0
I use WAMP and can't send mails too. You will have to install a plug-in (in my case, sendmail) then edit the ini file. http://flowingmotion.jojordan.org/2012/04/26/how-to-set-up-email-with-wamp/
23rd Jul 2017, 8:40 PM
Drax
Drax - avatar