PDA

View Full Version : CDO Email


FlyingL0
06-25-2003, 11:45 AM
I recently upgraded my web server to 2003 however the cdo sendmail is no longer working??? I get this error..

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/pofinal.asp, line 701

800401f3


This is whats on line 701
Set objCDO = Server.CreateObject("CDONTS.NewMail")

Is there anything i need to enable/config for the IIS server?

FlyingL0
06-25-2003, 12:33 PM
Got it!!!

CDONTS doesnt come with 2003 Server, you have to use:

Set objCDO = Server.CreateObject("CDO.Message")
objCDO.From = strFrom
objCDO.To = strTo
objCDO.Subject = strSubject
objCDO.HTMLBody = strBody4
objCDO.Send

Kodo
06-25-2003, 12:51 PM
FYI: You can grab the CDONTS.SYS file from a windows 2000 box and put into the C:\windows\system32 directory on the 2003 box and register it and you will have the ability to use CDONTS.