IIS and SMTP - CDO.Message ActiveX error

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > November 2004 > CDO.Message ActiveX error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CDO.Message ActiveX error
Bob Bedford

2004-11-10, 2:49 am

I've this code in my page:
<%

Set objCDONTS = Server.CreateObject("CDO.Message")

objCDONTS.From = "webmaster@mycompany.com"
objCDONTS.To = "test@mycompany.com"
objCDONTS.Subject = "Test script"
objCDONTS.TextBody = "some datas here"
objCDONTS.Send

Set objCDONTS = Nothing
response.redirect "successCard.asp"
response.end

%>

Executing the code, I've this message: (translated from french)

Execution error Microsoft VBScript error '800a01ad'

An ActiveX component can't create an object.

/fr/sendemail.asp, line 3

Line 3 is where server.createobject is.

I've Windows server 2003, the CDOSYS.DLL have been registered with regsvr32.

I can't get rid of this error and I'm over the deadline !!!!

Please help !!!

Bob


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com