Hi,
I'm moving Classic ASP to run on IIS 7.0, Windows Vista Enterprise SP1. I've tested to send e-mail by using CDONT component, but I got the error as below. I alreay registered and gave permission to IIS_IUSRS user already.
___________________________________________
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/HumanResources/Test/SendMailbyCDONTS.asp, line 16
___________________________________________
The below is my simple code. Any wong in this code?
Dim sendmail
Set SendMail = Server.CreateObject("CDONTS.NewMail")
SendMail.From = "someone@xyz.com"
SendMail.To = "someone@abcd.com"
SendMail.Subject = "Test send email by CDONTS"
Sendmail.Body = "Test mail"
SendMail.Send <------------------------------------- Line 16
Set Sendmail = Nothing
Line 16 is SendMail.Send. Any wong in above code? This code works smoothly in IIS 5 & Windows Sever 2000. I stuck on this error almost a day. Anyone can tell me a clue?
Thanks in advance.