php mail()

Kim johansen lotto.kim at gmail.com
Wed Nov 23 22:13:46 GMT 2005


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 at dpk.net> wrote:
> 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