CDONTS and localhost

My app installed in my domain used cdonts for email....

I want to test in my local pc with localhost....

The app works find excpet that I do not have CDONS in my local pc.

Is there a way to download and install the component in my local pc?
robrodpAsked:
Who is Participating?
 
nurbekConnect With a Mentor Commented:
you can get cdonts.dll from other servers (in windows/system32 folder)

and manually you can register it

aslo you can use CDO

     Dim objCDOConf,objCDOSYS
     Set objCDOSYS = Server.CreateObject("CDO.Message")
     With objCDOSYS    
          .From = "from@myemail.com"
          .To = "me@mymail.com"
          .Subject = "Subject comes here"
          '.HTMLBody = strMailBody
          .TextBody = "Test message"
          .Send
     End with                    
     Set objCDOSYS = Nothing

0
 
kevp75Connect With a Mentor Commented:
if you install IIS through 'Add Remove Programs'  'Windows Components'   it will be installed
0
 
VAScottConnect With a Mentor Commented:
you may have the newer CDO on your localhost whereas the hosting server has the older CDONTS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.