Solved

CDONTS

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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