Sup All //
Title says it all. I followed the tutorial straight from Kirupa himself, and I can’t seem to get this to even send me an email. I’d be happy with an email from my php client with an error even. hehe
My host is godaddy, and is php supported.
http://www.michaelcawcutt.com/main.html <<test url, site isn’t finished yet, but I’m trying to get this complete.
php code is as follows
<?php
$sendTo = "mkcawcutt@msn.com";
$subject = "inquiry from michaelcawcutt.com";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}
I have three text fields that are input text with var: name, email, and message.
I didn’t see anywhere in the tutorial about editing the html doc. or adding code to the html document, so why would u need the html doc? Anyway …
any help would be appreciated … I’m baffled. :block: