On 6/2/07, Brad Sumrall <BradS@xxxxxxxxxxxxxx> wrote:
<?php { $to = ("chris@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,tom@xxxxxxxxxxxxxxxxxxxxxxxxxxxx"); $subject = "online guestbook register"; $email = $_POST['email'] . "\n"; $headers = "Reply-To: " . $_POST['email'] . "\n"; $body = "Visitor Infomation: " . "\n" . "Name: " . $_POST['name2'] . "\n" . "Email: " . $_POST['email2'] . "\n"; } else { mail($to,$subject,$body,$headers); $to = ("$email2");
Where did you get $email2??
$subject = ("Thank you"); $email = $_POST['email'] . "\n";
Why do you need $email?
$headers = "Reply-To: " . $_POST['email'] . "\n"; $body = "Thank you for signing our Guest Book and visiting our website. Feel free to search our extensive property database, as this is the most current up to date information in the Real Estate Market today. You will see the latest listings the same time the Realtors do. Check out http://www.Floridaonlineinvestments.com" . "\n" . mail($to,$subject,$body,$headers); } ?>
Did you get any error? And what does mail return? true or false? Tijnema
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php