Hi there, I hope this will help. It works with PHP.
I have add the button script and the php code to be save aswell and up loaded to your server.
-------------------
Code:
on (release) {
loadVariables("email.php",'POST');
javascript('alert("Thank you for contacting us.");');
}
-------------------
<!-- This is the PHP code, so save it in a txt editor as emil.php -->
PHP Code:
<?php
$name = $_POST['Name'];
$email = $_POST['Email'];
$message = $_POST['Message'];
$name = stripslashes($name);
$email = stripslashes($email);
$message = stripslashes($message);
$rec_email = "[email protected]";
$subject = "Online form submission";
$msg_body .= "Name: $name\n\n";
$msg_body .= "E-Mail: $email\n\n";
$msg_body .= "Comments: $message\n\n";
mail($rec_email, $subject, $msg_body);
?>
-------------------