Creating An Online Form In HTML and sent to your e-mail address through a PHP script.
HTML Code
<form method="post" action="sendmail.php">
Email: <input name="email" type="text" /><br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form>
PHP Script
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "yourname@example.com", "Feedback
Form Results",
$message, "From: $email" );
header( "Location: http://www.example.com/thankyou.html" );
?>