Solved

CDONTS

Posted on 2002-06-09
2
3,432 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
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.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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