My theroy is it must be somthing to do with my quotes or some syntax trouble. If I use a very basic mail() without variables it works, but what good is that really. Thanks in advance for any tips here is the loosing code:
Code: Select all
<?php
$ToEmail = "dustingarrett@yahoo.com";
$ToName = "Dustin";
$ToSubject = "New Remedy Motel Mailing List Entry";
$EmailBody = "'Sent By:' $FirstName 'Senders Email:' $Email 'Address:' $Address";
//$EmailFooter="This message was sent by: $FirstName If you feel that you
//recieved this e-mail by accident please contact us at www.whitedotgroup.com";
//$Message = $EmailBody
//.$EmailFooter;
mail($ToName." <".$ToEmail.">", $ToSubject, $EmailBody, "From: ".$FirstName." <".$Email.">");
Print "_Root.Mail.EmailStatus=Complete - Your mail has been sent";