Solved

CDONTS

Posted on 2002-06-09
2
3,418 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now