I cannot figure out why this is not working?

From: Date: Sat, 02 Jun 2007 22:34:36 +0000
Subject: I cannot figure out why this is not working?
Groups: php.general 
Request: Send a blank email to php-general+get-256018@lists.php.net to get a copy of this message
<?php { $to = ("chris@floridaonlineinvestments.com,tom@floridaonlineinvestments.com"); $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"); $subject = ("Thank you"); $email = $_POST['email'] . "\n"; $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); } ?>

« previous php.general (#256018) next »