i am having trouble getting my email forms to actually send the information. For this example i'll do a simple example (my scripts were a lot more complicated, bar 1, which still didnt work) I have two html forms which are basicly like this:
<input type="text" name="from">
<textarea name="comments"></textarea>
then PHP:
$to = "myemail@myhost.com";
$re = "Submitted Querie";
$msg = $comments;
#Headers for html e-mail enabled message
$headers = "MIME-Version: 1.0\r\n";
$headers.= "Content-type: text/html; ";
$headers.= "charset=iso-8859-1\r\n";
#Set the From: header
$headers.= "From: $from \r\n";
mail($to, $re,$msg, $headers);
it wont send! it comes up with my confirmation message (which i havent included in the example) but nowt happens!
I've checked with my server as to whether php.ini are set up and mail() is allowed and not limited, and phpBB mail() functions work fine on my server, so it must be the code
any help would be very appreciated,
HAPPY CHRISTMAS!!!,
jwb666