Hi guys,
I've got the following code:
<?
$msg = "E-MAIL SENT FROM www.jaiwilliams .com\n";
$msg .= "Sender's Name: $_POST[sender_name]\n";
$msg .= "Sender's E-Mail: $_POST[sender_email]\n";
$msg .= "Message: $_POST[message]\n\n";
$to = "jai@jaiwilliam s.com";
$subject = "Web Site Feedback";
$mailheaders = "From: My Web Site <www.jaiwilliam s.com> \n";
$mailheaders .= "Reply-To: $_POST[sender_email]\n\n";
mail($to, $subject, $msg, $mailheaders);
?>
The emails that come back only include the following:
E-MAIL SENT FROM www.jaiwilliams .com
Sender's Name:
Sender's E-Mail:
Message:
Any data that's being input is NEVER captured. What am I doing wrong here?
Thanks in advance.
Jai
I've got the following code:
<?
$msg = "E-MAIL SENT FROM www.jaiwilliams .com\n";
$msg .= "Sender's Name: $_POST[sender_name]\n";
$msg .= "Sender's E-Mail: $_POST[sender_email]\n";
$msg .= "Message: $_POST[message]\n\n";
$to = "jai@jaiwilliam s.com";
$subject = "Web Site Feedback";
$mailheaders = "From: My Web Site <www.jaiwilliam s.com> \n";
$mailheaders .= "Reply-To: $_POST[sender_email]\n\n";
mail($to, $subject, $msg, $mailheaders);
?>
The emails that come back only include the following:
E-MAIL SENT FROM www.jaiwilliams .com
Sender's Name:
Sender's E-Mail:
Message:
Any data that's being input is NEVER captured. What am I doing wrong here?
Thanks in advance.
Jai
Comment