php mail()

David Kirchner dpk at dpk.net
Wed Nov 23 22:09:39 GMT 2005


On 11/23/05, Kim johansen <lotto.kim at gmail.com> wrote:
> I cant get the mail function in php to work. If i try to run a script
> with the mail() function, the script is just sleeping, doing nothing.
> Have enabled debug in php, but dont got any errors. sendmail works
> fine if i use it from commandline.
>
> what could be wrong?

We had to set up our php.ini as follows:

sendmail_path = /usr/sbin/sendmail -t -i


More information about the freebsd-questions mailing list