Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problems with automatic email


koptisjm

Recommended Posts

I am having some issues when a user tries to set up a new account I get the following message:

 

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in e:\swamp\www\bong\catalog\includes\classes\email.php on line 502

 

Warning: Cannot modify header information - headers already sent by (output started at e:\swamp\www\bong\catalog\includes\classes\email.php:502) in e:\swamp\www\bong\catalog\includes\functions\general.php on line 29

 

The data IS entered into the database, just the automatica email is having some issues.

Link to comment
Share on other sites

Try adding

ini_set('sendmail_from', STORE_OWNER_EMAIL_ADDRESS);

somewhere in email.php. Also make sure that you have an SMTP server configured.

 

Hth,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...