Hello. I've just joined. So please forgive me if I come across as green and my problem is rather entry-level. I'm designing a Flash site (on Mac) that needs a simple email link for visitor's comments. I've been given a php file to upload, but the message when we recieve it doesn't show the sender's name, address etc. Here follows the php bumf. can anybody see the error of my ways?
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<?
$ToEmail = "info@thinkidea.co.uk";
$ToSubject = "Web Site Contact";
$EmailBody = "NAME: " . $thisName . "\nEMAIL: " . $thisEmail . "\nSUBJECT:" . $thisSubject . "\n\nMESSAGE:\n" . $thisMessage . "\n";
$EmailFooter="\nThis message was sent from http://www.thinkidea.com";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$thisName." <".$thisEmail.">");
print "&EmailStatus=Message has been sent"
?>
__________________
Regards,
Kid Calamity
|