CDNOTS on Win2k

I just setup a win2k server and for some reason CDNOTS will not work on the server. I am not getting any error messages and here is the code I am using. Is there anything I have to install/set on the server to get them working?

<%
Dim MyMail
Set MyMail = Server.CreateObject("CDONTS.NewMail")
MyMail.From = "brad@eznetideas.com"
MyMail.To = "brad@eznetideas.com"
MyMail.Subject = "testing sending email via CDONTS"
MyMail.BodyFormat = 1
MyMail.MailFormat = 0
MyMail.Importance = 2
MyMail.Body = "Sending email with CDONTS NewMail"
MyMail.Send
Set MyMail = Nothing
%>

 

 

 

 

Top