I purchased a pre-built flash web site which I host at Godaddy. Unfortunately I have no coding experience, and both the creator of the site and Godaddy offer no help. I have a "contact us" form located in the site, which, ideally, sends and e-mail to me when a client fills in the fields of the form. I get the e-mail just fine, HOWEVER, the clients e-mail address, which is listed in the "e-mail" field, does not show up in the e-mail. Furthermore, the e-mail is usually stating the sender as the clients name@p3slh234.shr.phx3.secureserver.net (which is obviously not the clients e-mail address. I will list the PHP code...maybe someone can tell me where I am going wrong. Thanks in advance and sorry for such a novice question. Here the the PHP text:
<?
$name=$_POST['t1_2'];
$mail=$_POST['t2_2'];
$comm=$_POST['t3_2'];
$ToEmail = " thelloyds@soulreflectionsphoto.com";
$ToSubject = "MESSAGE FROM YOUR SITE";
$EmailBody = "Full Name: $name\n
Your message (include e-mail address): $comm\n";
$Message = $EmailBody;
$headers .= "Content-type: text; charset=iso-8859-1\r\n";
$headers .= "From:".$name." / ".$email."\r\n";
mail($ToEmail,$ToSubject,$Message, $headers);
?>
|