Create your form in HTML as normal.
Set the form method = "POST" and action ="emailforminfo.php" (or similar)
Then create a php file called emailforminfo.php similar to the following:
<?
// send email
$to = 'type your e-mail address here';
$subject = 'what you type here appears in the subject box on the e-mail';
The next staement constitutes the e-mail message itself and will need some formatting for new lines...
You simply put your form field names here all prefixed with $ (PHP automatically creates variables for you when you post the form)
$body = "$field1\n".
"$field2\n".
etc...
"field10\n";
Assuming you've asked the user to type their name on the form you can then set the from line on the e-mail:
$from = $Sender;
// @ supresses the display of parse errors
if($mailsend = @mail($to,$subject,$body))
{
// This redirects if successfull to a page that simply displays a successfully received message for the sender...
include("thankyou.php");
}
else
{
echo "<font color=\"#FF0000\" size=\"3\" face=\"Arial\"><b>";
echo "THERE WAS A SYSTEM ERROR PLEASE TRY AGAIN";
echo "</font></b></font>";
include("your formname here");
}
?>
Voila!
hope this helps?