are you familiar with PHP?
try this... of course you may want to change around your post vars, add your validation etc.
Code:
<?php
if ($_POST['send']=='Y'){
$subject = $_POST['subject'];
$name = $_POST['fullname'];
$from = $_POST['email'];
$comments = $_POST['comments'];
$to = 'destination email address here ';
$message = "Name of Sender: ".$name."\n\n";
$message .= "Address of Sender: ".$from."\n\n";
$message .= "Message: " . $_POST["comments"] . "\n\n";
$headers = "From: ".$from."\n";
mail($to, $subject, $message, $headers);
header("Location: http://www.companywebsite.com/submission_received.htm");
} else {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Form Mail</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<FORM action="testform.php" method="post" name="contactus" enctype="multipart/form-data">
<input type=hidden name="subject" value="Form Mail Results">
<input type=hidden name="required" value="fullname,email">
<input type=hidden name="send" value="Y">
<input type=hidden name="redirect" value="http://www.companywebsite.com/submission_received.htm">
Name<br><input type=text name="fullname"><br>
Email<br> <input type=text name="email"><br>
<br> Comments<br> <textarea name="comments"></textarea> <br>
<br> <input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
<?php } ?>
Bookmarks