close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

email password issue

Thread began 12/28/2010 9:29 am by fdotmedia | Last modified 12/28/2010 9:46 am by fdotmedia | 1064 views | 2 replies |

fdotmedia

email password issue

I keep getting an error in my email password page...

I can only get the page to redirect to the error page... No matter what variables I change I get the "failRedirect" link...

Subsequently, I have a couple of questions...

1. the WA_SecurityAssist_Definition mail server is pop or smtp?
2. the filterColumn is filtering the email address or the row id?

Here's the code I have on the page...

<?php require_once('Connections/ReThinkNow.php');?>
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
function WA_SecurityAssist_Email_1_SendMail($WA_Auth_Parameter){
$WA_MailObject = WA_SecurityAssist_Definition("smtpout.secureserver.net","25","info@rethinknow.net","","","");
$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["submit"])){
//WA SecurityAssist Email object="Mail for Linux"
$WA_Auth_Parameter = array(
"connection" => $ReThinkNow,
"database" => $database_ReThinkNow,
"tableName" => "rtnUser",
"filterColumn" => "rtnEmail",
"columnValue" => "".((isset($_POST["rtnEmail"]))?$_POST["rtnEmail"]:"") ."",
"columnType" => "text",
"usernameColumn" => "rtnEmail",
"passwordColumn" => "rtnPassword",
"selectColumns" => array(""),
"sessionVariables" => array(""),
"successRedirect" => "login.php",
"failRedirect" => "error.php",
"keepQueryString" => FALSE,
"toAddressColumn" => "rtnEmail",
"fromAddress" => "info@rethinknow.net",
"fromAddressDisplay" => "Info@ReThinkNow.net",
"subject" => "ReThink Now Information Requested",
"mailBody" => "Print out and keep this information safe. \n\nUser name: [rtnEmail]\nPassword: [rtnPassword]",
"emailFunction" => "WA_SecurityAssist_Email_1_SendMail"
);

WA_Auth_ForgotPassword($WA_Auth_Parameter);
}
?>



Any help would be tremendous...

Ted

Sign in to reply to this post

Ray BorduinWebAssist

Is the email address in the database?

Are you sure the smtp mail server settings are correct?
Maybe try updating the line:

$WA_MailObject = WA_SecurityAssist_Definition("smtpout.secureserver.net","25","info@rethinknow.net","","","");


to:

WA_SecurityAssist_Definition("","","info@rethinknow.net","","","");

Most php servers are set up so that the mail server works when left blank.

Sign in to reply to this post
Did this help? Tips are appreciated...

fdotmedia

thanks Ray!

works just fine...

Sign in to reply to this post

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...