nomadsoul Posted March 29, 2019 Share Posted March 29, 2019 Hi everyone, I am getting this error Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" , I really don't care about connecting to the mailserver. I just want to stop seeing this error. Anyone know how to disable it? I'm using Xampp Windows 10. I don't use Mercury, its off at the Xampp control panel. My book is Effortless ecommerce edition 2 and I see the error after filling in the register.php page. Thanks Link to comment Share on other sites More sharing options...
Larry Posted March 30, 2019 Share Posted March 30, 2019 Hmmm... you could put the error suppression operator before mail() calls, although you could also just comment out the mail() calls, for that matter. Link to comment Share on other sites More sharing options...
nomadsoul Posted March 30, 2019 Author Share Posted March 30, 2019 Thanks, sometimes I forget the obvious Link to comment Share on other sites More sharing options...
nomadsoul Posted March 30, 2019 Author Share Posted March 30, 2019 for anyone with this problem I commented out line 117 in register.php where the line is: //mail($_POST['email'], 'Registration Confirmation', $body, 'From: yourmail@whatever.com'); I also commented out the main stuff in php.ini and anywhere else but that didn't work ...moving on Link to comment Share on other sites More sharing options...
Recommended Posts