sql = \"SELECT email, Password FROM bruger WHERE email = \'\"&email&\"\'\" Set RS = Conn.Execute(sql)
If RS.EOF Then Response.write \"<p><br><br><br><center>Invalid Email Address!</center>\" Else password = RS(\"password\") Call SendPW(email, password) Response.Write \"<p><br><br><br><center>Your Password has been sent!</center>\"
RS.Close Conn.Close Set RS = Nothing Set Conn = Nothing End If End If
Sub SendPW(email, password) Set cdoMail = Server.CreateObject(\"CDONTS.NewMail\") cdoMail.From = \"webmaster@web-zone.dk\" cdoMail.To = email cdoMail.Subject = \"Your requested password.\" cdoMail.Body = password & vbcrlf & vbcrlf & vbcrlf _ & \"*** THIS MESSAGE HAS BEEN AUTOMATICALLY GENERATED ***\"
moviez >> ehhh...det hadde gjerne vært en fordel om du hadde sjekket at Azero supporterte CDONTS. Det gjør de *ikke*, så du skal heller finne på noe annet. JMail er noe de supporterer:
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.