Date: Wed, 23 Nov 2005 23:13:33 +0100 From: Kim johansen <lotto.kim@gmail.com> To: David Kirchner <dpk@dpk.net> Cc: freebsd-questions@freebsd.org Subject: Re: php mail() Message-ID: <45680d1e0511231413m57ae0744xf723450df1fd40b4@mail.gmail.com> In-Reply-To: <35c231bf0511231409h6367788cka65f6bee76d4f812@mail.gmail.com> References: <45680d1e0511231355x61d96f64v5fca9f431d59ded3@mail.gmail.com> <35c231bf0511231409h6367788cka65f6bee76d4f812@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
wee, i got it. sendmail was symblinked up to mailwrapper. Changed sendmail_path to "/usr/sbin/mailwrapper -t -i", and it works:) On 11/23/05, David Kirchner <dpk@dpk.net> wrote: > 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?45680d1e0511231413m57ae0744xf723450df1fd40b4>