Hi Ignotastic,
Something like this should work for you. Read http://www.php.net/manual/en/function.mail.php for more infomation on PHP mail() function.
--- index.html page ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form name="myform" method="POST" action="dosend.php">
<table width="500" cellpadding="0" CELLSPACING="0">
<TR>
<TD>
<FONT SIZE="2">Your name:<br>
<input type="text" name="realname" size="18">
</font>
</TD>
<TD>
Your e-mail address:<br>
<input type="text" name="email" size="18">
</TD>
</TR>
</table><br/>
Your message:<br/>
<textarea rows="15" name="message" cols="50">text</TEXTAREA>
</p>
<p>
<input type="submit" value="Send" name="submit">
<input type="reset" value="Clear All" name="B2">
</p>
</form>
</body>
</html>
--- dosend.php page ---
<?php
$headers = "Sender: {$_POST['email']} \r\n"; // needed some spam filter
mail("[email protected]","Subject", $_POST['message'], $headers);
?>
<br/> Thanks for e-mailing us.
Enter your message below
Sign in or Join us (it's free).