views:

148

answers:

1

I have a new install of Ubuntu and trying to use the php's mail() function. The function fails, I guess I am missing a package or two in my installation.

A: 

Have you configured the mail function in your php.ini ?

sendmail_path = /usr/sbin/sendmail -i -t    
or
sendmail_path = /usr/lib/sendmail -i -t
ttony21
that was part of the answer, I had to install it too:sudo apt-get install sendmail-binBut it putted me on the right track. Tnx.
Itay Moav