Kelly wrote:
I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am running Solaris 9 x86 on an Intel box.What do you mean by:
I get no errors when I start Apache. I get no errors when I run configtest.
My problem is mail() does not work. It does invoke sendmail as there is activity in sendmail log.
When I get an error page it does not display PHP is exposed. It is exposed in php.ini.
register_globals is turned on right now.
Variables to parse into values.
$MESG = $_POST['comments']; parses to values.
This is the log from sendmail.
The first is sending mail from WEBMIN. The second is sending from PHP mail().
'WEBMIN'
Jan 14 20:03:13 www sendmail[17613]: [ID 801593 mail.info] j0F23DBA017613: from=kmk@xxxxxxxxxxxxxxxxxxx, size=889, class=0, nrcpts=1, msgid=<1105754593.17610@www>, relay=kmk@localhost
Jan 14 20:03:14 www sendmail[17616]: [ID 801593 mail.info] j0F23D4b017616: from=<kmk@xxxxxxxxxxxxxxxxxxx>, size=1083, class=0, nrcpts=1, msgid=<1105754593.17610@www>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan 14 20:03:14 www sendmail[17613]: [ID 801593 mail.info] j0F23DBA017613: to=webmaster@xxxxxxxxxxxxxxxxxxx, ctladdr=kmk@xxxxxxxxxxxxxxxxxxx (0/1), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30889, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j0F23D4b017616 Message accepted for delivery)
Jan 14 20:03:15 www sendmail[17618]: [ID 801593 mail.info] j0F23D4b017616: to=<webmaster@xxxxxxxxxxxxxxxxxxx>, ctladdr=<kmk@xxxxxxxxxxxxxxxxxxx> (0/1), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121083, relay=boredomsoftware.com. [67.18.56.2], dsn=2.0.0, stat=Sent (OK id=1CpdH0-00067K-Lb)
'PHP mail()'
Jan 14 20:04:41 www sendmail[17630]: [ID 801593 mail.info] j0F24f8b017630: from=nobody, size=200, class=0, nrcpts=0, msgid=<200501150204.j0F24f8b017630@xxxxxxxxxxxxxxxxxxx>, relay=nobody@localhost
Can someone please help me figure this out? I am desperate!! I am also at my wits end. I have been fighting with this for a week.
Kelly
"When I get an error page it does not display PHP is exposed. It is exposed in php.ini. "
Is mail() returning an error? If so, what is it?
Have you had the same PHP code working in a different environment?
If you haven't figured out the problem yet, post your PHP code here.
-John
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php