> Christian Maier wrote:
> >
> > Hi!
> > I've installed QMail on my Redhat 7.0 system.
> > PHP uses sendmail but I heard that Qmail has got a sendmail program,
too. So
> > is it possible to send an email per "mail(...)" command of PHP with
Qmail? I
> > copied the Qmail Sendmail to /usr/sbin/sendmail and set the path to
QMail
> > Sendmail in the php.ini, but no EMail are sent and I don't get an error
> > message!
> >
> Hi Christian
> I'm using PHP ver. 4.03pl1 and latest qmail. I have to say I was pretty
> impressed the way this duo worked 'out of the box'. PHP uses sendmail to
> send emails - as far as I know 'qmail' sendmail behaves exactly like the
> original. Just check if your paths are OK using <?php phpinfo() ?>
> command (look for sendmail).

well, from my experience php has some problems with qmail's sendmail, but I
was able to get past that by editing php.ini :

sendmail_path=/var/qmail/bin/qmail-inject

works for me ...

Reply via email to