This should be embedded somewhere in an HTML file....
Code:
<form method="post" action="sendmail.php">
Name: <input name="name" type="text">
<br />
Email: <input name="email" type="text" />
<br />
Message:<br />
<textarea name="message" rows="10" cols="30">
</textarea><br /><br />
<input type="submit" />
</form></center>
</body>
Then this should be copied and saved as sendmail.php with nothing else added to it...
Note the quotes around the E-mail address added also.
Code:
<?
$email = $_POST['email'] ;
$message = $_POST['message'] ;
mail( "webmaster@potsdamlacrosse.com", "Email Subject", $message, "From: $email" );
print "Congratulations your email has been sent";
?>
The page I posted has the original E-mail address that you had in the original post...
If you need it changed for testing purposes let me know....
Heres Sendmail In Action to the E-mail address you supplied in the original post but from my server...
Also, I was using a script that takes you to an actual Thank You page, Might look a little more professional if for a buisness.
I've got it hosted over at
http://www.chicagoceg.com for the time being so it'll be there until you tell me you don't need it anymore....
If you want me to post that just let me know...
Steve