You need to use the PHP mail function. PHP is a server-side language, which means not all web hosts come with PHP installed.
Find a web host that offers PHP, and make a new file called send.php.
Put this in it:
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
Save it, then make a new file called mail.html:
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
{
//send email
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail( "someone@example.com", "Subject: $subject",
$message, "From: $email" );
echo "Thank you for using our mail form";
}
else
//if "email" is not filled out, display the form
{
echo "
";
}
?>
Save that, then view mail.html. This should send to someone@example.com (or whatever you changed it to).