validate email inserted: $var_ValidateEmailSentItemID
"; // send the user to the pdf -- we no longer show the finalize screen. echo ""; } // closes if letter // if we're being asked to render an email if ($var_Comms_Method=="E-Mail" && $var_Comms_Type!="Validate Email") { if (!$var_To_Email) { $sqlpe = " SELECT tb_Person.col_Email FROM tb_Person LEFT JOIN tb_Lists ON tb_Lists.col_Value = tb_Person.col_Type AND tb_Lists.col_VariableName = 'PersonType' WHERE tb_Person.col_ID = '$var_ID' AND tb_Person.col_Type IN ($var_PersonTypes) ORDER BY tb_Lists.col_ValueOrder, col_PurchaserNumber, col_PersonID"; //echo "validate email inserted: $var_ValidateEmailSentItemID
"; // send the user to the pdf -- we no longer show the finalize screen. echo ""; } // if we're verifying an email address if ($var_Comms_Type == "Validate Email") { // for selecting between body strings. Logic is in the ValidateEmail.php file. $var_Supplemental_Type = $_REQUEST['var_supplemental_type']; $var_To_Email = $_REQUEST['var_email_Address']; // echo "validate email inserted: $var_ValidateEmailSentItemID
"; } else { $myrow = mysqli_fetch_array($result); $var_ValidateEmailSentItemID = $myrow['col_SentItemID']; //echo "validate email exists: $var_ValidateEmailSentItemID
"; } // including the file here rather than above to avoid a concurrency problem. include $var_UseThisFile; //echo "