Jump to content
Larry Ullman's Book Forums

Recommended Posts

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

Share this post


Link to post
Share on other sites

Hmmm... you could put the error suppression operator before mail() calls, although you could also just comment out the mail() calls, for that matter. 

Share this post


Link to post
Share on other sites

 

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...