Hey guys,
For the life of me, I can not get the "From" and "Reply-To" email to show up correctly.
When I send this form to my gmail account (and insert my gmail email address in as the "From" & Reply-To) here's what I get: "@ gmail. com reply-to"
That's including the spaces.
Everything else is showing up correctly.
Ok, so here's my current PHP code:
Any idea what's wrong? Thanks in advance.
- David
For the life of me, I can not get the "From" and "Reply-To" email to show up correctly.
When I send this form to my gmail account (and insert my gmail email address in as the "From" & Reply-To) here's what I get: "@ gmail. com reply-to"
That's including the spaces.
Everything else is showing up correctly.
Ok, so here's my current PHP code:
Code:
$headers = "From: $_POST[email] \n " .
"Reply-To: $_POST[email]";
$message =
"First Name: ".$_POST[name]." \n
E-mail Address: ".$_POST[email]." \n
Phone Number: ".$_POST[phone]." \n
Maiiling Address: ".$_POST[street]." \n
".$_POST[city].", ".$_POST[state]." ".$_POST[zip]." \n
Questions and Comments: ".$_POST[questions]." \n";
mail("my email address", "Submission from Website", $message, $headers);
Any idea what's wrong? Thanks in advance.
- David







