Hi. For some reason, my mail script works, but it won't send any of the variables from the form. In other words, I get the email, but it is empty. Here is my code. Thanks in advance!
I have a form that is as follows:
<form name="ProcessScript" action="ProcessScript.php" method="post">
<input type="text" name="Name">
<input type="text" name="Email">
</form>
Then I have an email script that is the following:
<?php
@$Body = "This person wants to join your newsletter list\n\n"
"Name: $Name\n"
"E-mail: $Email\n";
mail("subscribe@mysite.com", "Subscription Request", $Body);
?>