Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

strange errors with mail system on apache


nezbie

Recommended Posts

Posted

When I try to do something with oscommerce that would require sending of mail (like lost password, order...) it throws me with error like this:

 

Warning: Failed to Connect in c:easyphpwwwcatalogincludesclassesemail.php on line 502

 

Warning: Cannot add header information - headers already sent by (output started at c:easyphpwwwcatalogincludesclassesemail.php:502) in c:easyphpwwwcatalogincludesfunctionsgeneral.php on line 29

 

Does anyone know a cure? I guess it's something about the configuration of php or apache but I'm not too good with that. The address I'm trying to send mails from (defined in admin) is admin@localhost, which should be correct. Any help :) ?

If there truly is evil in this world. It lies within the heart of mankind..

Posted

If you are not running an email server on your local machine, then you should turn off order emails in admin.

 

If you really need emails in MS Windows, you will have to configure an SMTP server in php.ini or use the SMTP w/ Authentication contribution.

 

Good luck,

Matt

Posted

Like Matt said, for Windows, you can just open up the php.ini file and find the smtp line, then just enter you info. If you aren't sure, just open your e-mail, go to tools accounts and find the smtp info there.

Archived

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

×
×
  • Create New...