Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Form Question(s) Re: PHP Form Question(s)

#83281
dhechler
Member

AHA! So in order for YOU to receive an email, just change this.


// Additional headers
$headers .= 'To: <' . $_POST . '>' . "rn";
$headers .= 'From: My Web Site ' . "rn";

to this


// Additional headers
$headers .= 'To: ' . "rn";
$headers .= 'From: My Web Site ' . "rn";
$headers .= 'Reply-To: <' . $_POST . '>' . "rn";

This way you will receive the email. You can also send them a “Thank you” email with the previous code we were using.