Hello
I have some problem with mail() function of php.
(Unix, PHP 4)
It seems I must determine sendmail path as it can not detect it.
Who knows, how can I determine this in mail() function or seth sendmail_path to something?
Regards,
Mac
Travis
07-10-2001, 03:17 AM
The path to sendmail can be set in your php.ini. If you don't have the ability to change that, try putting this in your script:
ini_set ("sendmail_path", "/path/to/sendmail");
ffeingol
07-10-2001, 02:18 PM
Sorry if you are double getting this. The board was messed up this morning.
If this is the same problem that you posted yesterday, it's because PHP could not find sendmail when it was compiled. I don't think just setting the sendmail path will fix it. Sendmail functions were not compiled in.
What OS/Version are you running? Can you find out where sendmail is installed?
I believe PHP will have to be recompiled so it can find where sendmail is located.
Frank
Dear Frank
Thank you for your great help.
You were right. It was a configuration problem and solved by reinstalling PHP on the server.
My best regards,
Mac