Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email error with localhost installation


MichaelP

Recommended Posts

I have installed oscommerce, mysql, php, apache on my local pc. I get the following errors when I try and send email:

 

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\program files\apache group\apache\htdocs\catalog\admin\includes\classes\email.php on line 500

 

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\catalog\admin\includes\classes\email.php:500) in c:\program files\apache group\apache\htdocs\catalog\admin\includes\functions\general.php on line 86

 

I'm not sure how to resolve this and would be very grateful for some help.

 

Thanks.

 

Michael

Link to comment
Share on other sites

I also get this when I add a new user to the database:

 

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\program files\apache group\apache\htdocs\catalog\includes\classes\email.php on line 500

 

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\catalog\includes\classes\email.php:500) in c:\program files\apache group\apache\htdocs\catalog\includes\functions\general.php on line 29

 

although, the user is successfuly added...

 

Michael

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...