Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDONTS on PWS? 3

Status
Not open for further replies.

Kinl

Programmer
Mar 19, 2001
168
US
I'm running PWS on NT4 workstation and I was wondering if CDONTS is installed w/ PWS?

When I try to create a CDONTS object to send newmail, I get this error:

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object: 'CDONTS.Newmail'

/ctsdev/mail/mailtest.inc, line


Here is the script that I'm using:
----------------------------------

<% Language=VBScript

Set myMail = CreateObject(&quot;CDONTS.Newmail&quot;)
myMail.From = &quot;anyone@anywhere.com&quot;
myMail.To = &quot;anyone@anywhere.com&quot;
myMail.Subject = &quot;Test Subject&quot;
myMail.BodyFormat = 1 'Basic Text
myMail.MailFormat = 0
myMail.Body = &quot;This is a test.&quot;
myMail.Send

Set myMail = Nothing

%>


Thanx in advance
donn
 
No, you won't find CDONTS on your win9x box -- it requires an SMTP Server, so even if you had the .dll, it wouldn't work. :-(
penny.gif
penny.gif
 
I'm in the same boat as you....I am trying to develop CDONTS apps using PWS on Win98...but I get the error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/CDONTS/sendmail.asp, line 3

800401f3

...must be due to the missing CDONTS component, as well as the lack of the SMTP service. I'm trying to find a solution to at least emulate this....
 
Both of you should be able to go to and get Persits' free email component for ASP... You can then register it on your win9x boxes and go to town.

The difference between CDONTS and PERSITS is the fact that you can specify which SMTP server you want the mail to be sent through -- so it will go look for it, rather than requiring that you have one on the box you're using.

That should fix you right up. :)
Paul Prewett
penny.gif
penny.gif
 
for what it's worth to folks browsing this topic:

I quote directly from 2nd Edition - Hatfield of &quot;ASP for dummies&quot; book,

&quot;CDO.....requires that you be using NT Server and IIS - you can't use either with PWS - (page 205 in case anyone cares) Seek not outside yourself; heaven is within.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top