[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP and Sendmail
- Subject: [cobalt-users] PHP and Sendmail
- From: "Randall Clark" <wz297@xxxxxxxxxxxxxx>
- Date: Fri Oct 6 03:50:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I am writing a PHP script using the mail command to send an email after a
user has completed a form on a Raq3. When I access the page with the code in
it, the page hangs for about 1 min and then sends the mail, but on another
server that I am running the same code on it works just fine. I was told
that it could be that sendmail is looking for the host and does a reverse
lookup and can not find it. But I have added the reverse lookup for that
domain and the main server domain just to be safe and it keeps hanging. Any
help on this subject would be great !
Here is some of my code.
<?php
mail("username@xxxxxxxxxx", "Registration Recieved",
"
Registration Request received from $HTTP_POST_VARS[email]
Domain Name.....: $HTTP_POST_VARS[domain]
Your package choice...: $HTTP_POST_VARS[package]
",
"From: username@xxxxxxxxxx");
?>