I tried it out on server A (PHP 4.06), which worked fine when I ran the phpinfo test. Then I uploaded my files with the PHP in action, the form data was promptly e-mailed to me.
Next I tried it on server B (4.0.3pl1), which also worked fine when I ran the phpinfo test. But when I uploaded my files and tried to submit the form data, nothing's getting e-mailed to me.
I thought that sticky post about 4.2 might help me, but it looks like both servers are running old versions. Could anyone help me through this one? I appreciate your help.
Eric
Code: Select all
<?
$ToEmail = "name@address.com";
##$ToName = "Insert Name Here";
$ToSubject = "Insert Subject Here";
$EmailBody = "Sent By: $Name\nSenders Company: $Company\nPhone Number: $Phone\n\n";
$Message = $EmailBody;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">");
Print "_root.RSVP.Status=Thanks";
?>