Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mail() warning


3960AD

Recommended Posts

Posted

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!!!

Posted

do you have your own sendmail / mail server setup on your local system?

Posted
yeah i do.  i 'mail enable'.

 

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.

Archived

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

×
×
  • Create New...