I am new to the forum, so first off, hello to everyone!
I cannot get the php code below to send mail from website to my email address. When i use it, it throws up no error warnings at all, i just do not recieve any mail. I have no knowledge of PHP, therefor have no idea what needs to be changed in this code, which was provided for me to use with the flash form. I am hoping someone can help. I did change the you@yourdomain.com and info@yourdomain.com to my own address but changed nothing else in the php code.
[php]<?
$contactfield1=$HTTP_GET_VARS["contactfield1"]
$contactfield2=$HTTP_GET_VARS["contactfield2"]
$contactfield3=$HTTP_GET_VARS["contactfield3"]
$contactfield4=$HTTP_GET_VARS["contactfield4"]
$email_from = "you@yourdomain.com";
$email_subject = "" ;
//$email_txt = "";
$email_to = "info@yourdomain.com";
$email_message = "field1: $contactfield1\n
field2 :$contactfield2 \n
field3 :$contactfield3 \n
field4 : $contactfield4 \n
";
mail($email_to, $email_subject, $email_message,$email_from);
?>[/php]