473,804 Members | 3,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDONTS install

I have a dedicated windows server on BlueGenesis.

I'd like to send an email using ASP, but I'm getting this error message:

Microsoft VBScript runtime error '800a01ad'

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

I'm told that is because CDONTS is not installed.

So, how do I install cdonts or some other asp mail program. How much
is that going to cost?

I'm a perl programmer and I'm always a little shocked at what is not
built into ASP!!! No less so than now.

Jeff
Aug 9 '06 #1
12 6305
Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp
http://www.powerasp.com/content/new/...ing_cdosys.asp

And perl sucks ass to work with IMO, I couldn't have been more happy many
years back when I didn't have to work with that crap anymore.


"Jeff" <do*********@al l.ukwrote in message
news:Si******** *********@newsr ead3.news.pas.e arthlink.net...
I have a dedicated windows server on BlueGenesis.

I'd like to send an email using ASP, but I'm getting this error message:

Microsoft VBScript runtime error '800a01ad'

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

I'm told that is because CDONTS is not installed.

So, how do I install cdonts or some other asp mail program. How much is
that going to cost?

I'm a perl programmer and I'm always a little shocked at what is not
built into ASP!!! No less so than now.

Jeff

Aug 9 '06 #2
Kyle Peterson wrote:
Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp
Thanks, This looks like it might work. No errors, but no emails yet
either...
http://www.powerasp.com/content/new/...ing_cdosys.asp

And perl sucks ass to work with IMO, I couldn't have been more happy many
years back when I didn't have to work with that crap anymore.
Really? I find it terribly annoying to have to string stuff together
like this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"
when I can do this:

my $Message =q{

First line
Second Line
third line
and so on
and soon
};

Or 2 other ways....

and to send that as an email:

open(SENDMAIL, "|$sendmail_pat h -oi -t ") or die $!;
print SENDMAIL <<EOF;
To: some addess
From: some_ from
Subject: $subject

$Message

EOF

close(SENDMAIL) ;

or to save that as a file:

open(IF,">$file path");
print $Message;
close IF;
I also like that perl gives human readable error messages, I guess
YMMV. And I like that if the server/OS gets upgraded, everything still
works. And I like that perl runs fine on any server, including windows.

Cheers,
Jeff

>

"Jeff" <do*********@al l.ukwrote in message
news:Si******** *********@newsr ead3.news.pas.e arthlink.net...
> I have a dedicated windows server on BlueGenesis.

I'd like to send an email using ASP, but I'm getting this error message:

Microsoft VBScript runtime error '800a01ad'

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

I'm told that is because CDONTS is not installed.

So, how do I install cdonts or some other asp mail program. How much is
that going to cost?

I'm a perl programmer and I'm always a little shocked at what is not
built into ASP!!! No less so than now.

Jeff


Aug 9 '06 #3

Jeff wrote:
Kyle Peterson wrote:
Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp

Thanks, This looks like it might work. No errors, but no emails yet
either...
Check your mailroot pickup and queue folders. It might be lurking
there somewhere... Alternatively, check that your hosting company has
set up the SMTP server correctly on the dedicated server.

And perl sucks ass to work with IMO, I couldn't have been more happy many
years back when I didn't have to work with that crap anymore.

Really? I find it terribly annoying to have to string stuff together
like this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"

So do I, which is why I do this:

Dim Message
Message = "first line" & _
"second line" & _
"third line"

Redefining the value of a string variant on each line as in your
example can be quite an expensive operation....

--
Mike Brind

Aug 9 '06 #4
then use perl
"Jeff" <do*********@al l.ukwrote in message
news:qD******** ********@newsre ad2.news.pas.ea rthlink.net...
Kyle Peterson wrote:
>Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp

Thanks, This looks like it might work. No errors, but no emails yet
either...
>http://www.powerasp.com/content/new/...ing_cdosys.asp

And perl sucks ass to work with IMO, I couldn't have been more happy many
years back when I didn't have to work with that crap anymore.

Really? I find it terribly annoying to have to string stuff together like
this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"
when I can do this:

my $Message =q{

First line
Second Line
third line
and so on
and soon
};

Or 2 other ways....

and to send that as an email:

open(SENDMAIL, "|$sendmail_pat h -oi -t ") or die $!;
print SENDMAIL <<EOF;
To: some addess
From: some_ from
Subject: $subject

$Message

EOF

close(SENDMAIL) ;

or to save that as a file:

open(IF,">$file path");
print $Message;
close IF;
I also like that perl gives human readable error messages, I guess
YMMV. And I like that if the server/OS gets upgraded, everything still
works. And I like that perl runs fine on any server, including windows.

Cheers,
Jeff

>>

"Jeff" <do*********@al l.ukwrote in message
news:Si******* **********@news read3.news.pas. earthlink.net.. .
>> I have a dedicated windows server on BlueGenesis.

I'd like to send an email using ASP, but I'm getting this error
message:

Microsoft VBScript runtime error '800a01ad'

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

I'm told that is because CDONTS is not installed.

So, how do I install cdonts or some other asp mail program. How much is
that going to cost?

I'm a perl programmer and I'm always a little shocked at what is not
built into ASP!!! No less so than now.

Jeff



Aug 9 '06 #5
Jeff wrote:
I find it terribly annoying to have to string stuff together
like this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"
Who told you you have to use VBScript in ASP? Or for that matter, that there
is only one way to concatenate in VBScript?

VBScript alternative:
Message = "first line" &_
"second line" &_
"third line"

JScript:
Message = "first line" +
"second line" +
"third line"

JScript alternative:
Message = ["first line"]
Message.push("s econd line")
Message.push("t hird line")
// Message.join("\ r\n") returns string with breaks between lines

Or a dozen other ways. Your ignorance of them does not mean they do not
exist.

and to send that as an email:

open(SENDMAIL, "|$sendmail_pat h -oi -t ") or die $!;
print SENDMAIL <<EOF;
To: some addess
From: some_ from
Subject: $subject

$Message

EOF
How is that different from this?

var MSG = Server.CreateOb ject("CDO.Messa ge")
MSG.To = {some address}
MSG.From = {some address}
MSG.Subject = {Some subject}
MSG.TextBody = Message.join("\ r\n") // from example above
MSG.Send()
I also like that perl gives human readable error messages,
I guess YMMV.
This human read ASP errors every day. Few surprise me. Ever.
And I like that if the server/OS gets upgraded, everything
still works. And I like that perl runs fine on any server,
including windows.
Nobody is stopping you from using perl. Have at it.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Aug 9 '06 #6
Mike Brind wrote:
Jeff wrote:
>>Kyle Peterson wrote:
>>>Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp

Thanks, This looks like it might work. No errors, but no emails yet
either...


Check your mailroot pickup and queue folders. It might be lurking
there somewhere... Alternatively, check that your hosting company has
set up the SMTP server correctly on the dedicated server.
I'm betting that the SMTP server is not setup correctly since it's been
a while since the message were sent. Does everything in IIS6 go out
using the SMTP server and are these "server objects" just differen ways
of calling it?

I can login using remote desktop, what should I look for? This is
IIS6 and the support is terrible at BlueGenesis, didn't used to be....
>

>>>And perl sucks ass to work with IMO, I couldn't have been more happy many
years back when I didn't have to work with that crap anymore.

Really? I find it terribly annoying to have to string stuff together
like this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"



So do I, which is why I do this:

Dim Message
Message = "first line" & _
"second line" & _
"third line"
Thanks, I'll do that instead. I still prefer "here docs", but you got to
use what you have!

Cheers,
Jeff
>
Redefining the value of a string variant on each line as in your
example can be quite an expensive operation....

--
Mike Brind
Aug 9 '06 #7
Kyle Peterson wrote:
then use perl
Correct me if I'm wrong, but isn't ASP the only way possible to have a
server side progress bar for file uploads? I know you can't do that in
perl or PHP because the whole file is slurped in before any code is
executed. I'm pretty sure, but not positive, that .net works the same way.

I'm sure that you prefer ASP because you are more familiar with it,
the same is true for my choices.

Jeff
>

"Jeff" <do*********@al l.ukwrote in message
news:qD******** ********@newsre ad2.news.pas.ea rthlink.net...
>>Kyle Peterson wrote:
>>>Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp

Thanks, This looks like it might work. No errors, but no emails yet
either...

>>>http://www.powerasp.com/content/new/...ing_cdosys.asp

And perl sucks ass to work with IMO, I couldn't have been more happy many
years back when I didn't have to work with that crap anymore.

Really? I find it terribly annoying to have to string stuff together like
this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"
when I can do this:

my $Message =q{

First line
Second Line
third line
and so on
and soon
};

Or 2 other ways....

and to send that as an email:

open(SENDMAIL , "|$sendmail_pat h -oi -t ") or die $!;
print SENDMAIL <<EOF;
To: some addess
From: some_ from
Subject: $subject

$Message

EOF

close(SENDMAI L);

or to save that as a file:

open(IF,">$fi lepath");
print $Message;
close IF;
I also like that perl gives human readable error messages, I guess
YMMV. And I like that if the server/OS gets upgraded, everything still
works. And I like that perl runs fine on any server, including windows.

Cheers,
Jeff
>>>
"Jeff" <do*********@al l.ukwrote in message
news:Si***** ************@ne wsread3.news.pa s.earthlink.net ...
I have a dedicated windows server on BlueGenesis.

I'd like to send an email using ASP, but I'm getting this error
message:

Microsoft VBScript runtime error '800a01ad'

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

I'm told that is because CDONTS is not installed.

So, how do I install cdonts or some other asp mail program. How much is
that going to cost?

I'm a perl programmer and I'm always a little shocked at what is not
built into ASP!!! No less so than now.

Jeff

Aug 9 '06 #8

Jeff wrote:
Mike Brind wrote:
Jeff wrote:
>Kyle Peterson wrote:

Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp

Thanks, This looks like it might work. No errors, but no emails yet
either...

Check your mailroot pickup and queue folders. It might be lurking
there somewhere... Alternatively, check that your hosting company has
set up the SMTP server correctly on the dedicated server.

I'm betting that the SMTP server is not setup correctly since it's been
a while since the message were sent. Does everything in IIS6 go out
using the SMTP server and are these "server objects" just differen ways
of calling it?

I can login using remote desktop, what should I look for? This is
IIS6 and the support is terrible at BlueGenesis, didn't used to be....
This is where I get a little out of my depth. Not that familiar with
IIS6, but I suspect that C:\Inetpub\mail root contains the folders. Try
there first. (Pickup, Queue, BadMail). You might want to find out
whether the IIS SMTP service is in fact running, and that they haven't
stuck ASPEMail or some other component on there instead....

On my dedicated server, CDO code will not throw errors, but it won't
send. The mail server they set up on it is MailEnable.

Your hosting company should sort this out for you. If they are
complete rubbish, can 'em. Good dedicated server hosts are 10 a penny,
and that kind of package is rarely cheap.

--
Mike Brind

Aug 9 '06 #9
If you got a question about progress bars I suggest you start a new thread.

As for Perl I used it for over 5 years and I know Perl so there is no need
to keep showing me your little examples.

As for CDOSYS emails not sending try sending the emails using a real email
server and eliminate your doubts about whether smtp is running... those
articles cover that scenario with cdosys as well.


"Jeff" <do*********@al l.ukwrote in message
news:_c******** ********@newsre ad2.news.pas.ea rthlink.net...
Kyle Peterson wrote:
>then use perl

Correct me if I'm wrong, but isn't ASP the only way possible to have a
server side progress bar for file uploads? I know you can't do that in
perl or PHP because the whole file is slurped in before any code is
executed. I'm pretty sure, but not positive, that .net works the same way.

I'm sure that you prefer ASP because you are more familiar with it, the
same is true for my choices.

Jeff
>>

"Jeff" <do*********@al l.ukwrote in message
news:qD******* *********@newsr ead2.news.pas.e arthlink.net...
>>>Kyle Peterson wrote:

Use CDOSYS.. it's built in and free

http://www.powerasp.com/content/new/...ail_cdosys.asp

Thanks, This looks like it might work. No errors, but no emails yet
either...
http://www.powerasp.com/content/new/...ing_cdosys.asp

And perl sucks ass to work with IMO, I couldn't have been more happy
many years back when I didn't have to work with that crap anymore.

Really? I find it terribly annoying to have to string stuff together like
this:

Dim Message

Message = "first line"
Message = Message & "second line"
Message = Message & "third line"
when I can do this:

my $Message =q{

First line
Second Line
third line
and so on
and soon
};

Or 2 other ways....

and to send that as an email:

open(SENDMAI L, "|$sendmail_pat h -oi -t ") or die $!;
print SENDMAIL <<EOF;
To: some addess
From: some_ from
Subject: $subject

$Message

EOF

close(SENDMA IL);

or to save that as a file:

open(IF,">$f ilepath");
print $Message;
close IF;
I also like that perl gives human readable error messages, I guess
YMMV. And I like that if the server/OS gets upgraded, everything still
works. And I like that perl runs fine on any server, including windows.

Cheers,
Jeff


"Jeff" <do*********@al l.ukwrote in message
news:Si**** *************@n ewsread3.news.p as.earthlink.ne t...
I have a dedicated windows server on BlueGenesis.
>
I'd like to send an email using ASP, but I'm getting this error
message:
>
>Microsof t VBScript runtime error '800a01ad'
>
>ActiveX component can't create object: 'CDONTS.NewMail '
>
>I'm told that is because CDONTS is not installed.
>
So, how do I install cdonts or some other asp mail program. How much
is that going to cost?
>
I'm a perl programmer and I'm always a little shocked at what is not
built into ASP!!! No less so than now.
>
Jeff
Aug 9 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1800
by: Beat | last post by:
We have several applications (ASP, VB6) that use CDONTS for sending Mails. After moving the application to Windows 2003 they do not work anymore. CDONTS apparently has been removed. - What shall we do? - Is it possible to install the CDONTS.DLL on a win2003 Server? - Would we need to install other DLL's - Anything else to consider?
3
2067
by: Chad Lupkes | last post by:
Hi all, I'm trying to get a better understanding of how to use CDONTS on a web server, and I find that I don't have it installed on my own. I'm running XP Pro w/ IIS 5.1. Where can I go to install what I need to get it to work on my system? -- Chad Lupkes chadlupkes@yahoo.com
10
9788
by: Seeker | last post by:
Hi! I have to do some developing and I'm trying to configure my server to mimic the operation of our production server. The issue I'm having is that I'm trying to use CDONTS to send an email under IIS on a Windows 2003 Server. The server does not have the SMTP service running, but I do have a third party SMTP/POP/IMAP server running. I have copied the CDONTS.DLL file and registered it. In the Web Serice Extensions I have enabled the...
6
4412
by: kelsloris | last post by:
I have an asp app that uses CDONTS to send email notifications. On the .send method I get an error saying the specified path could not be found. Everything I find about this error refers to IMS and the IMC folder. They say to install IMS and set the pickup folder to the IMCDATA folder. The problem is that this was working just fine until yesterday. We reset the server yesterday and now all of a sudden the app cannot send email. Any idea...
0
1231
by: FloriZ | last post by:
Does anyone know how to install CDONTS for Windows NT 4 Workstation? My application is sending e-Mails using System.Web.Mail.SmtpMail. On a computer running NT 4.0 SP6a, we get the exception "CDONTS.NewMail" could not be created. I know SmtpMail is just a wrapper for CDO. So I was trying to find a possibility how to install it on NT 4 Workstation. I found several articles in the support database of Microsoft, but still did not find a...
9
6276
by: scott | last post by:
I have my win 2003 server setup correct with SMTP. I know because I've tested it ok. However, when I issue CODE 1 below, I get ERROR 1 below. I thought having SMTP installed correctly allowed ASP to use CDONTS as a mail generator. Is there more to it? CODE 1: Set objMail = Server.CreateObject("CDONTS.NewMail")
1
1213
by: Chris Thunell | last post by:
I am in the process of moving all my web applications from a windows 2000 server (IIS) to a windows 2003 server (IIS). I have apps written in VS6, .net and .net2002 but i am having problems with my VS6 applications, when they try to run the following code: Set objMsg = Server.CreateObject("CDONTS.NewMail") Is there anyway to install CDONTS on a windows 2003 server? I can't get debugging to work on the new server so I can't give you...
4
1296
by: =?Utf-8?B?U2ltb25X?= | last post by:
Platform WinSVR 2003 IIS 6 Having installed and registered CDONTS.dll in \system32, I am still experiencing the following error message when runnng the intranet web site. (And my boss is getting edgy with me) ============================ Processing..........
7
2892
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2975
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.