THE HTML FORM ( just copy this or better still make some changes to the feild) and remember to save it as contact.html or whatever
======================================================================
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HTML Mail Form</title>
</head>
<body>
<form action="send_mail.php" method="POST">
Name: <input type="text" name="name" size="30" /><br />
Email: <input type="text" name="email" size="30"/><br />
Subject: <input type="text" name="subject" size="30"/><br />
Text:<textarea name="text" name="text" cols="50" rows="10"></textarea><br />
<input type="submit" name="submit" value="Send" />
====================================================================================
==================================================================================
PHP SCRITPS THAT WILL PROCESS THE CUSTOMER REQUEST AND DUMB IT INTO YOUR EMAIL
==================================================================================
<?php
@extract($_POST);
$name = stripslashes($name);
$email = stripslashes($email);
$subject = stripslashes($subject);
$text = stripslashes($text);
mail('
youremail@domain.com ',$subject,$text,"From: $name <$email>");
echo("Thank you for your interest, your e-mail was sent.");
?>
</form>
</body>
</html>
REMEMBER TO CHANGE THE
YOUREMAIL@DOMAIN.COM TO ANY EMAIL ADDRESS YOU WANT. AFTER THAT JUST MAKE SURE THE file is saved as "
send_mail.php"
you can see In the next lines i use the stripslah function to remove any non-alfanumeric characters from the user inputed data, thus making it user friendly.
test it, hope that helpsssssssss