[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

CDONTS

Posted on 2002-06-09
2
Medium Priority
?
3,442 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 400 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

650 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