Sending form results to person who fills out the form
I want to send the form results to both myself, and the person who fills out the form.
I have replaced the code;
$RecipientEmail = "".($WAGLOBAL_Contact_Email_To) ."";include("WA_Universal_Email/WAUE_contact_1.php");
with;
$RecipientEmail = "".($WAGLOBAL_Contact_Email_To) ."";include("WA_Universal_Email/WAUE_contact_1.php");
$RecipientEmail = "". (isset($_POST['UserEmail'])?$_POST['UserEmail']:"") ."";include("WA_Universal_Email/WAUE_contact_1.php");
The email comes through fine to my email which is located on the WA_Globals.php file but the email that comes through to the person who fills out the form submits a blank email.
Please Advise.
Thank you.