PDA

View Full Version : Blank Email being sent to the person who has submitted the form


paul313952
03-15-2010, 07:05 AM
Hi Folks,
Ive been trying to get the contact form to send a copy of the submitted contents to the sender along with myself as the recipient, and to a degree this is working with the email being received to the sender who filled in the form, however the contents of the email is blank.
The email is received by myself as the recipient of the form submission and everything is in place.

The code im using to send the "sender" a copy of their form submission is:
$RecipientEmail = "".($WAGLOBAL_Contact_Email_To) ."";include("WA_Universal_Email/WAUE_contact_1.php");
$RecipientEmail = "".(isset($_POST["Email_address"])?$_POST["Email_address"]:"") ."";include("WA_Universal_Email/WAUE_contact_1.php");

Any help will be appreciated.

Thanks

Jason Byrnes
03-15-2010, 11:26 AM
try using this code instead:

$RecipientEmail = "".($WAGLOBAL_Contact_Email_To) .", ".(isset($_POST["Email_address"])?$_POST["Email_address"]:"") ."";include("WA_Universal_Email/WAUE_contact_1.php");

paul313952
03-15-2010, 01:05 PM
Great stuff. That did the job, Thanks Jason