Page 1 of 1

mail function setup mail()

Posted: Thu Nov 07, 2002 3:41 pm
by BarryS
Anyone help on how to get the mail() function to work.
I have mail working from the terminal thanks for help in General forum, but still the function will not work for me.

phpinfo() gives
sendmail_from me@mydomain.net
sendmail_path /usr/lib/sendmail (this is where my sendmail exe is)
SMTP localhost (should it say this?)

Mail /var/spool/mail/root

any ideas maybe the php.ini needs amending? What does it normally say?

Posted: Thu Nov 07, 2002 6:21 pm
by BarryS
Have found the problem.

I failed to delete the windows additions in the php.ini and just leave the Unix.

Anyway, thanks for the help.