[KLUG Members] PHP mail() problem

Bill Katsma members@kalamazoolinux.org
Tue, 5 Feb 2002 18:28:38 -0500


I am having a problem with mail() function in all of my forms on a new
setup.

What it is doing:
The form submits (even if a hit stop on my browser right after submitting
the form) but hangs for about 90 seconds
The scripts work fine on two other boxes
    One being a older maching with slightly older Apache, PHP and Mysql but
still the same code.
    The other with the same exact software and same exact code but without
sendmail up and runing.
The email goes out (even if a hit stop on my browser right after submitting
the form)
If I comment out the mail() function the form process imiediatlly.

I am baffled at where to look as if it was a problem with send mail I would
think the email would not go through but it does (even if a hit stop on my
browser right after submitting the form).  I copied over my sendmail.cf and
php.ini files from an older machine that I know works on.

any suggestions?


Thank you