Solved

CDONTS

Posted on 2002-06-09
2
3,429 Views
Last Modified: 2009-11-20
I recently installed IIS on my computer via XP Pro and would like to use CDONTS to generate email from an ASP page. (I also installed SMTP)
When I execute the ASP code I get the following error:

Server object, ASP 0177 (0x800401F3)
Invalid class string

When it executes this row:
Set FailobjCDO = Server.CreateObject("CDONTS.NewMail")

Is there something I have to do to activate or configure CDONTS so it will function?
0
Comment
Question by:Royster
2 Comments
 
LVL 1

Accepted Solution

by:
royster earned 100 total points
ID: 7066035
Okay.. I solved it myself and am giving the answer to help others that may suffer this:

It seems XP doesnt support CDONTS. Instead do it this way:
     Dim obCDO
     Set obCDO = Server.CreateObject("CDO.message")
        with obCDO
         .From = "info@Your.biz"
         .To = "whoever@isp.com"
         .Subject = "Download Info"
         .TextBody = "Dear Customer blah blah"
         .Send()
        end with
0
 

Expert Comment

by:luming
ID: 7311547
CDONTS=CDO for NT.  It doesn't work with xp.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question