you need to use a server scripting technology such as php. here's an example form and script to go with it.
<form action="mail.php" method="post">
<input type="text" name="email">
<input type="text" name="firstname">
<input type="text" name="lastname">
<textarea rows="10" cols="30" name="feedback">
Enter feedback here
<input type="submit" value="Send">
<input type="reset" value="Reset">
as you can see, along with every input it is mandatory to use the name attribute. this is how the php will get the variables- the names become the names of the variables.
$email = $_REQUEST['email'];
$subject = site feedback;
$feedback = $_REQUEST['feedback'];
$firstname = $_REQUEST['firstname'];
$lastname = $_REQUEST['lastname'];
$message = "$firstname $lastname sends you the following message \n $message";
mail( "firstname.lastname@example.org", "Subject: $subject", $message, "From: $email" );
//message displayed on the user's screen
echo "Thank you for using our mail form";
i haven't tested it, however i wouldn't give this to u if i didn't think it works. test it, post the results (if any). there's a form section in www.w3schools.com's html tutorial, and a php mail section in its php tutorial.
Edited by TaNkZ101, 29 July 2006 - 03:25 AM.