I decided to write my own version......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Dannytipple.co.uk - Email Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<?php
// Variables
$email_address = "danny@trials-forum.co.uk";
$email_subject = "Form Completion";
//Body
$mailTo = "$email_address";
$mailSubject = "$email_subject";
// If No Page Load The Form
if(empty($_GET['p'])) {
?>
<p>Form To Mail:</p>
<form method="POST" action="mail.php?p=sent">
<p>Name: <input type="text" name="Name" size="20" /></p>
<p>E-Mail Addy: <input type="text" name="Email" size="20" /></p>
<p>Body: <textarea rows="2" name="Body" cols="20"></textarea></p>
<p><input type="submit" value="Submit" name="Sendit" />
<input type="reset" value="Reset" name="B2" /></p>
</form>
<p> </p>
<?PHP
}
// If The Page Is Sent Lets Load The Thankyou + Send The E-Mail
if ($_GET['p'] == "sent") {
// Create Header
$fromHeader = "From: ".$_POST['Email'];
// Send The E-mail
$mailBody = "Name : ".$_POST['Name']."\nEmail : ".$_POST['Email']."\n\nBody: ".$_POST['Body'];
mail($mailTo, $mailSubject, $mailBody, $fromHeader);
// Display Thankyou
echo "Your E-mail Has Been Sent.";
}
?>
</body>
</html>[/code]
All you need to do is edit the 2 variables at the top (N)