Cannot Get Email Password to Work
I cannot get the email password functionality to work. When I test locally I get the following error message:
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/NJHSGolf/WA_SecurityAssist/Mail_JS.asp, line 33
When I test on the server I get the following error message:
The website cannot display the page
HTTP 500
This the code on the EmailPW page:
<%
function WA_SecurityAssist_Email_1_SendMail(WA_Auth_Parameter){
WA_MailObject = WA_SecurityAssist_Definition("GolfTracker@njhsgolf.com","25","njhsgolf.com","golf.01");
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;
}
%>
<%
if(String(Request.Form("Send.x")) != "undefined"){
// WA SecurityAssist email object="AspEmail"
var WA_Auth_Parameter = {};
WA_Auth_Parameter.connection = MM_conn_golfTracker_STRING;
WA_Auth_Parameter.tableName = "coachInfo";
WA_Auth_Parameter.column = "id_email";
WA_Auth_Parameter.columnValue = "" + String(String(Request.Form("emailAddress"))) + "";
WA_Auth_Parameter.columnType = "200";
WA_Auth_Parameter.columnSize = "255";
WA_Auth_Parameter.usernameColumn = "id_email";
WA_Auth_Parameter.passwordColumn = "pw";
WA_Auth_Parameter.selectColumns = "".split(',');
WA_Auth_Parameter.sessionVariables = "".split(',');
WA_Auth_Parameter.successRedirect = "coachInfo_LogIn.asp";
WA_Auth_Parameter.failRedirect = "coachInfo_EmailPW.asp";
WA_Auth_Parameter.keepQueryString = true;
WA_Auth_Parameter.toAddressColumn = "id_email";
WA_Auth_Parameter.fromAddress = "GolfTracker@njhsgolf.com";
WA_Auth_Parameter.fromAddressDisplay = "Administration";
WA_Auth_Parameter.subject = "Login Credentials";
WA_Auth_Parameter.mailBody = "User name: [id_email]\nPassword: [pw]";
WA_Auth_Parameter.emailFunction = WA_SecurityAssist_Email_1_SendMail;
WA_Auth_ForgotPassword(WA_Auth_Parameter);
}
%>
Your help is greatly appreciated.