Hi, How do I adjust: the below so that when I receive an email the email address of the user is the From email address. When I receive an email from johndoe@xyz.com I want to be able to hit reply and for johndoe@xyz.com to be in the to field.
THANKS!!!!!
<?php
$where_form_is="http://".$_SERVER.strrev(strstr(strrev
($_SERVER),"/")); session_start(); if( ($_SESSION==$_POST
) && (!empty($_POST)) ) { mail("support@mysite.com","Website Query","Website Query:
First Name: " . $_POST . " Last Name: " .
$_POST . " Your Email: " . $_POST . " Type Of Query: " . $_POST
. " Subject: " . $_POST . " Your Message: " . $_POST . "
");
include
("confirm.html"); } else { echo "Invalid Captcha String. Please click back and re-enter the
characters in the image. Thanks "; }
?>
Log in to post a comment.
Hi,
How do I adjust: the below so that when I receive an email the email address of the user is the From email address. When I receive an email from johndoe@xyz.com I want to be able to hit reply and for johndoe@xyz.com to be in the to field.
THANKS!!!!!
<?php
$where_form_is="http://".$_SERVER.strrev(strstr(strrev
($_SERVER),"/"));
session_start();
if( ($_SESSION==$_POST
) && (!empty($_POST)) ) {
mail("support@mysite.com","Website Query","Website Query:
First Name: " . $_POST . "
Last Name: " .
$_POST . "
Your Email: " . $_POST . "
Type Of Query: " . $_POST
. "
Subject: " . $_POST . "
Your Message: " . $_POST . "
");
include
("confirm.html");
}
else {
echo "Invalid Captcha String. Please click back and re-enter the
characters in the image. Thanks ";
}
?>