It seems I should have some type of post for each form field and it doesn't on the contact.us php page.
Should I edit the waue_contact_us_1.php file and add the post info for the form?
I tried one form field (the name) and this is the message I got from the internet.
Parse error: syntax error, unexpected '<' in /home/content/c/r/a/cragdire/html/webassist/email/waue_contact_us_1.php on line 39
Note: I have removed the post line from the file below. This is what I added.
<?php echo((isset($_POST["Contact_me_group_Name"]))?$_POST["Contact_me_group_Name"]:"") ?>
Here is the code for the waue_contact_us_1.php.
<?php
$MailAttachments = "";
$MailBCC = "";
$MailCC = "";
$MailTo = "";
$MailBodyFormat = "";
$MailBody = "";
$MailImportance = "";
$MailFrom = "robert.smith@rl-smith-concrete.com";
$MailSubject = "Test";
$_SERVER["QUERY_STRING"] = "";
//Global Variables
$WA_MailObject = WAUE_Definition("smtpout.secureserver.net","25","","","","");
if ($RecipientEmail) {
$WA_MailObject = WAUE_AddRecipient($WA_MailObject,$RecipientEmail);
}
else {
//To Entries
}
//Additional Headers
//Attachment Entries
//BCC Entries
//CC Entries
//Body Format
$WA_MailObject = WAUE_BodyFormat($WA_MailObject,0);
//Set Importance
$WA_MailObject = WAUE_SetImportance($WA_MailObject,"3");
//Start Mail Body
//End Mail Body
$WA_MailObject = WAUE_SendMail($WA_MailObject,$MailAttachments,$MailBCC,$MailCC,$MailTo,$MailImportance,$MailFrom,$MailSubject,$MailBody,"waue_contact_us_1");
if (isset($_SESSION["waue_contact_us_1_Status"])) {
$MailLogBindings = new WAUE_Log_Bindings();
//Start Log Bindings
//Success Or Failure
$MailLogBindings->SuccessOrFailure->ToDo = "none";
$MailLogBindings->SuccessOrFailure->Connection = "";
$MailLogBindings->SuccessOrFailure->TableName = "";
$MailLogBindings->SuccessOrFailure->EmailColumn = "";
$MailLogBindings->SuccessOrFailure->ColumnList = array();
$MailLogBindings->SuccessOrFailure->TypeList = array();
$MailLogBindings->SuccessOrFailure->ValueList = array();
//Success Only
$MailLogBindings->Success->ToDo = "none";
$MailLogBindings->Success->Connection = "";
$MailLogBindings->Success->TableName = "";
$MailLogBindings->Success->EmailColumn = "";
$MailLogBindings->Success->ColumnList = array();
$MailLogBindings->Success->TypeList = array();
$MailLogBindings->Success->ValueList = array();
//Failure Only
$MailLogBindings->Failure->ToDo = "none";
$MailLogBindings->Failure->Connection = "";
$MailLogBindings->Failure->TableName = "";
$MailLogBindings->Failure->EmailColumn = "";
$MailLogBindings->Failure->ColumnList = array();
$MailLogBindings->Failure->TypeList = array();
$MailLogBindings->Failure->ValueList = array();
//End Log Bindings
$MailLogBindings->SuccessOrFailure->MailRef = "waue_contact_us_1";
$MailLogBindings->Success->MailRef = "waue_contact_us_1";
$MailLogBindings->Failure->MailRef = "waue_contact_us_1";
$MailLogBindings->processLog(($_SESSION["waue_contact_us_1_Status"] == "Failure"));
}
$WA_MailObject = null;
?>