close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Forgot password page does not send email

Thread began 10/24/2016 3:03 pm by bjgarner241692 | Last modified 10/27/2016 10:05 am by bjgarner241692 | 2202 views | 8 replies

bjgarner241692

Forgot password page does not send email

I have never used the Security Assist embedded in DataBridge. I have always used v 4 which was pretty rock solid. I noticed with this version that all of the email content is on page rather than in a separate UE folder.

Here is the email code on my page. I cannot find an error but the email is never sent. Webserver address has been edited.

<?php
function WA_SecurityAssist_Email_1_SendMail($WA_Auth_Parameter){
$WA_MailObject = WA_SecurityAssist_Definition("127.0.0.1","25","","","","");
$WA_MailObject = WA_SecurityAssist_SendMail($WA_MailObject,"","","",$WA_Auth_Parameter["toAddress"],"",$WA_Auth_Parameter["fromAddress"],$WA_Auth_Parameter["subject"],$WA_Auth_Parameter["mailBody"]);
$WA_MailObject = null;
}// WA_SecurityAssist_Email_1_SendMail
?>
<?php
if(isset($_POST["ForgotPassword_submit"]) || isset($_POST["ForgotPassword_submit_x"])){
//WA SecurityAssist Email object="mail"
$WA_Auth_Parameter = array(
"connection" => $conn,
"database" => $database_conn,
"tableName" => "agents",
"filterColumn" => "Email",
"filterEncryption" => "",
"columnValue" => "".((isset($_POST["Forgot_Password_group_Email"]))?$_POST["Forgot_Password_group_Email"]:"") ."",
"columnType" => "text",
"usernameColumn" => "Email",
"usernameEncryption" => "",
"passwordColumn" => "Password",
"passwordEncryption" => "",
"selectColumns" => array("Email","Password"),
"sessionVariables" => array(""),
"successRedirect" => "login.php?emailedPassword=1",
"failRedirect" => "forgotpwd.php",
"keepQueryString" => TRUE,
"toAddressColumn" => "Email",
"toAddressEncryption" => "",
"fromAddress" => "webserver@VALID_DOMAIN.com",
"fromAddressDisplay" => "THEWEBSITE",
"subject" => "Access",
"mailBody" => "../webassist/security_assist/email/forgotpwd_email.php",
"emailFunction" => "WA_SecurityAssist_Email_1_SendMail"
);

WA_Auth_ForgotPassword($WA_Auth_Parameter);
}
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...