3960AD Posted January 3, 2005 Posted January 3, 2005 hello forum....over the last two days i have been dissecting this problem.. Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\osCommerce\Apache\Apache2\htdocs\oscommerce-2.2ms2\catalog\includes\classes\email.php on line 502 i have searched the web and oscommerce (knowledge base and forum) for solutions, but haven't found anything that has been useful. i downloaded a mail server (Mail Enable) but that doesn't seem to be the problem and added the needed info to php.ini. [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. sendmail_from = *******@gmail.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = with that said...im looking for some suggestions on how to fix this problem. :D thanks in advance. best of wishes for the new years!!!
Guest Posted January 3, 2005 Posted January 3, 2005 do you have your own sendmail / mail server setup on your local system?
3960AD Posted January 3, 2005 Author Posted January 3, 2005 do you have your own sendmail / mail server setup on your local system? <{POST_SNAPBACK}> yeah i do. i 'mail enable'.
3960AD Posted January 3, 2005 Author Posted January 3, 2005 yeah i do. i 'mail enable'. <{POST_SNAPBACK}> forum: i was able to fix this problem. basically in your windows directory, we all have a php config file. the mail function section towards the bottom has to be modified. its exactly similar to your php.ini file. however, for some reason during install windows puts a copy there, in the form of a config file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.