Fill in the infomation below and
your password word will be e-mailed to you.
%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Dim Recordset1__MMColParam Recordset1__MMColParam = "1" If (Request.QueryString("username") <> "") Then Recordset1__MMColParam = Request.QueryString("username") End If %> <% Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_extreme2004_STRING Recordset1.Source = "SELECT * FROM tblRegistration WHERE fldUserName = '" + Replace(Recordset1__MMColParam, "'", "''") + "'" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 1 Recordset1.Open() Recordset1_numRows = 0 Dim var_done var_done = "0" If Not Recordset1.EOF Or Not Recordset1.BOF Then Set JMail = Server.CreateObject("JMail.SMTPMail") JMail.ServerAddress = "mail.hogans.net:25" JMail.Sender = "rhogan@hogans.net" JMail.Subject = "Your Username and Password" JMail.AddRecipient (Recordset1.Fields.Item("fldTeacherEmail").Value) JMail.Body = "Your user information is below as requested:." & vbCrLf & vbCrLf JMail.Body = JMail.Body & "User Name : " &(Recordset1.Fields.Item("fldTeacherEmail").Value) & vbCrLf JMail.Body = JMail.Body & "Password : " &(Recordset1.Fields.Item("fldpassword").Value) & vbCrLf JMail.Body = JMail.Body & "You may now use these to log on." JMail.Priority = 3 JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR") JMail.Execute var_done = "1" End If %>