Hi Guys. I'm horribly new to PHP and I'm having problems with emailing results of a form. Basically the form looks like it submits just fine, the "thanks" page comes up, etc. The only problem is that the actual email is never sent. Is there anything in this code that looks suspect? Again, sorry if this is a silly problem - I'm so very new. Here is the code:
<?
$msg = "$name\n$email\n\n$message";
mail("myname@mydomain.com", "Contact Message", $msg, "From: $email" );
header ("Location: contact_thanks.php");
?>