Salve a tutti! Ho preso uno script per la registrazione degli utenti e l'ho implementato nel mio sito. Lo script funziona parzialmente in quanto non arrivano i link di attivazione degli utenti sui domini tipo @libero @tiscali. Posto il codice aiutatemi per favore
<%
Else
Set RecSet = Server.CreateObject("ADODB.Recordset")
SQL = "SELECT * FROM Utenti Order By ID Desc"
RecSet.Open SQL, Conn, adOpenStatic, adLockOptimistic
RecSet.Addnew
RecSet("username") = username
RecSet("password") = password
RecSet("email") = email
RecSet("attivo") = 0
RecSet.Update
RecSet.Close
Set RecSet = Nothing
Set RecSet = Server.CreateObject("ADODB.Recordset")
SQL = "SELECT ID FROM Utenti Where username = '" & username & "' and password = '" & password &"'"
RecSet.Open SQL, Conn, adOpenStatic, adLockOptimistic
ID = RecSet("ID")
RecSet.Close
Set RecSet = Nothing
Conn.Close
Set Conn = Nothing
mittente = "info@nomedominio.it"
testo = "Caro utente," & chr(13)
testo = testo & "per attivare la registrazione al nostro sito, fai click sul link qui sotto" & chr(13)
testo = testo & "http://www.nomesito/area_riservata/attiva.asp?ID=" & id &"" & chr(13) & chr(13)
testo = testo & "Lo staff di nomesito!" & chr(13)
testo = testo & "http://www.nomesito.it"
emaila = email
Set email = Server.CreateObject("CDO.Message")
email.From = mittente
email.To = emaila
email.Subject = "ATTIVA LA REGISTRAZIONE!"
email.textBody = testo
email.Send()
Set email = nothing
%>
Aiutatemi per favore!!!

Rispondi quotando
Grazie infinite per il tuo contributo e a tutto lo staff di Html.it, sempre pronti ad aiutarmi!!!

