Doh, yeah stupid mistake forgetting the ?, it was a late night. I wrote that simple code because I'm having a bigger problem trying to do the same thing, maybe you can help.
Here is the html form:
><form method="POST" action="email.php">
<a class="header">Your E-Mail Address:</a><br>
<input type="text" name="email_address"><br><br>
<a class="header">Subject of the E-Mail:</a><br>
<input type="text" name="subject"><br><br>
<a class="header">Your Message:</a><br>
<textarea rows="15" name="body" cols="45"></textarea><br>
<input type="submit" value="submit" name="submit">
</form>
and here is email.php
><?php
$email = $_POST['email_address'];
$subject = $_POST['subject'];
$body = $_POST['body'];
$to = "mike_blah@hotmail.com";
$headers = "From: Web Email Form <'$email'>\r\n";
$result = mail($to, $subject, $body);
echo($result):
?>
The weird thing is no email is generated and I don't even get the echo(result).