mail function setup mail()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
BarryS
Forum Newbie
Posts: 9
Joined: Fri Oct 18, 2002 4:13 am
Location: London

mail function setup mail()

Post 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?
BarryS
Forum Newbie
Posts: 9
Joined: Fri Oct 18, 2002 4:13 am
Location: London

Post 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.
Post Reply