I am trying to get a contact form to work using the html below in the contact.html
<td>
<form method="post" action="sendmail.php">
Email: <input name="email" type="text"/><br/>
Message:<br/>
<textarea name="message" rows="15" cols="40">
</textarea><br/>
<input type="submit"/>
</form>
</td>
the sendmail.php is as follows
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "[email protected]", "Feedback Form Results",
$message, "From: $email" );
header( "Location: index.htm" );
?>
I have put this on my server at 34sp.com which I beleive is using linux servers, and it works fine. Put it on the domain I want it to work on and its just not doing it...no e-mail coming through to me at all.
The domain is on streamline using a windows server.
Is anyone on streamline here that could give me some help please.
Thanks
<td>
<form method="post" action="sendmail.php">
Email: <input name="email" type="text"/><br/>
Message:<br/>
<textarea name="message" rows="15" cols="40">
</textarea><br/>
<input type="submit"/>
</form>
</td>
the sendmail.php is as follows
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "[email protected]", "Feedback Form Results",
$message, "From: $email" );
header( "Location: index.htm" );
?>
I have put this on my server at 34sp.com which I beleive is using linux servers, and it works fine. Put it on the domain I want it to work on and its just not doing it...no e-mail coming through to me at all.
The domain is on streamline using a windows server.
Is anyone on streamline here that could give me some help please.
Thanks