I have made a form in Flash with the usual boxes to fill in ("name", "message" etc.)
Using the code below, I am able to get an e-mail sent to my address. Great! ... BUT ... I only get the subject and the message. There is no "From: ..." (so I'm not sure how I will set up the rest of what I need on my form, name, address, etc.)
what am I doing wrong?
Thanks!!
<?php
$sendTo = "andrew@studio209.com";
$subject = "My Flash site reply";
$headers = "From: " . $POST["name"];
$headers .= "<" . $POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $POST["email"]\r\n;
$headers .= "Return-Path: " . $POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $body, $headers);
?>