To test to see if you are allowed to use the mail() function try using this simple php/html contact script.
(contact.html)
Code:
<form method="post" action="http://www.EXAMPLE.com/sendmail.php">
<div align="center" style="padding-left:10px">Name: <input name="name" type="text" /><br /></div>
<div align="center" style="padding-left:10px">Email: <input name="email" type="text" /><br /></div>
Message:<br />
<textarea name="message" rows="15" cols="40" style="border:#FFFF00 2px">
</textarea><br />
<input type="image" src="http://www.team330.org/images/go.png" />
</form>
sendmail.php
PHP Code:
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$name = $_REQUEST['name'] ;
mail( "EMAIL@exampl.com", "$email",
$message, "From: $name" );
header( "Location: http://www.team330.org/" );
?>
Bookmarks