What have you tried so far / What do you know about php.
In principle:
-> Submit te form to the script
-> Depending on the form METHOD (POST or GET) retrieve the variables like this (MyVar = name of formfield):
$MyVar = $GET[MyVar];
or
$MyVar = $POST[MyVar];, eg:
$from = $POST[email];
$name = $POST[name];
$message = $_POST[message];
$to = "yourname@yourdomain";
$subject = "message";
-> Create the message:
$message_body = " <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<meta content=\"text/html;charset=ISO-8859-1\" http-equiv=\"Content-Type\">
</head>
<body bgcolor=\"#ffffff\" text=\"#000000\">
";
$message_body .= "$Name has send you an email:<br>$message";
$message_body .= "</body></html>";
// Send the email:
/* To send HTML mail, set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
/* additional headers */
$headers .= "from: $name <$from>\r\n";
if(mail($to, $subject, $message_body, $headers))
{
// Your succes message
}