Frågan#1
Feltyp:
Körningsfel i Microsoft VBScript (0x800A01FA)
Klass har inte definierats: 'TestClass'
/inme/medlemmar_nyinsert.asp, line 107
Dim myTest
[b]107-->[/b]Set myTest = New TestClass
classfilen:
Class sendMail
Sub AddPost(strMailInfo)
Set SMTP = Server.CreateObject("CDONTS.NewMail")
SMTP.From = "XXX"
SMTP.To = ""& Request.Form("usrEmail") &""
SMTP.Subject = "Välkommen "&Request.Form("usrFornamn")&" "& Request.Form("usrEfternamn") &""
body = body & osv, osv, osv, osv
SMTP.Body = body
SMTP.BodyFormat = CdoBodyFormatText
SMTP.MailFormat = CdoMailFormatText
SMTP.Importance = CdoNormal
SMTP.Send
Set SMTP = Nothing
End Sub
End Function
End Class
Vad har jag missat?
