Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 14:09:29 -0800
From:      David Kirchner <dpk@dpk.net>
To:        Kim johansen <lotto.kim@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php mail()
Message-ID:  <35c231bf0511231409h6367788cka65f6bee76d4f812@mail.gmail.com>
In-Reply-To: <45680d1e0511231355x61d96f64v5fca9f431d59ded3@mail.gmail.com>
References:  <45680d1e0511231355x61d96f64v5fca9f431d59ded3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/23/05, Kim johansen <lotto.kim@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 =3D /usr/sbin/sendmail -t -i



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35c231bf0511231409h6367788cka65f6bee76d4f812>