Security Assist password email failing
Hello,
Using Data Bridge 1.07 (updating to 1.08 now) the sending of the password email only sends an email with the literal string rather then the rendered page values.
For instance the successful email sending the user their password only sends an email with the following:
webassist/security_assist/email/forgotpassword_email2.php
Should the mailbody value not be within double quotes? :
<?php
if(isset($_POST["ForgotPassword_submit"]) || isset($_POST["ForgotPassword_submit_x"])){
//WA SecurityAssist Email object="mail"
$WA_Auth_Parameter = array(
"connection" => $MySQLcmhi,
"database" => $database_MySQLcmhi,
"tableName" => "tblretailer",
"filterColumn" => "retaileremail",
"filterEncryption" => "",
"columnValue" => "".((isset($_POST["Forgot_Password_group_Email"]))?$_POST["Forgot_Password_group_Email"]:"") ."",
"columnType" => "text",
"usernameColumn" => "retaileremail",
"usernameEncryption" => "",
"passwordColumn" => "UserPassword",
"passwordEncryption" => "",
"selectColumns" => array("retaileremail","UserPassword"),
"sessionVariables" => array(""),
"successRedirect" => "access.php?emailedPassword=1",
"failRedirect" => "forgotpassword.php?notFound=1",
"keepQueryString" => TRUE,
"toAddressColumn" => "retaileremail",
"toAddressEncryption" => "",
"fromAddress" => "Admin@cmhi.org",
"fromAddressDisplay" => "Admin",
"subject" => "Forgotten Password",
"mailBody" => "webassist/security_assist/email/forgotpassword_email2.php",
"emailFunction" => "WA_SecurityAssist_Email_1_SendMail"
);
WA_Auth_ForgotPassword($WA_Auth_Parameter);
}