Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

email.php:500 error


dootch

Recommended Posts

Posted

Upon checkout and also when trying to send an email from the tools section I get this error. Can anyone provide some guidance?? I will keep searching the wiki and such

 

Warning: Failed to Connect in c:program fileseasyphpwwwcatalogincludesclassesemail.php on line 500

 

Warning: Cannot add header information - headers already sent by (output started at c:program fileseasyphpwwwcatalogincludesclassesemail.php:500) in c:program fileseasyphpwwwcatalogincludesfunctionsgeneral.php on line 29

Posted

open up email.php and look for extra spaces at the end of the file after the ?>

 

There should be nothing at all behind that php end.

Posted

and I also get this error when trying to send a mail from the tool's menu..

 

Warning: Failed to Connect in c:program fileseasyphpwwwcatalogadminincludesclassesemail.php on line 460

 

Warning: Cannot add header information - headers already sent by (output started at c:program fileseasyphpwwwcatalogadminincludesclassesemail.php:460) in c:program fileseasyphpwwwcatalogadminincludesfunctionsgeneral.php on line 18

Posted

Paul,

My issue was the smtp server. On a thread someone was using Argosoft mail server software instead of IIS's SMTP services. So I disabled IIS loaded this Argo product configured it, made sure my windows php.ini file was configured and viola. Works like a champ.

Posted

as your running your shop on localhost (your own computer) you wont have a SMTP server therefore oscommerce is unable to send emails. Go into Admin -> Configuration -> Email Options and change 'send emails' to false, that should do it.

 

Hope this helps

Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...