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.CreateOb ject("CDONTS.Ne wMail")
ERROR 1:
Server object error 'ASP 0177 : 800401f3'
Server.CreateOb ject Failed
/mlcnet/library/cls_DataReports .asp, line 22
800401f3 9 6269
CDONTS doesn't exist on Server 2003. It only existed in 2000 for legacy
support purposes. Use CDO. http://www.aspfaq.com/show.asp?id=2026
Ray at home
"scott" <sb*****@milesl umber.com> wrote in message
news:en******** *****@TK2MSFTNG P15.phx.gbl... 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.CreateOb ject("CDONTS.Ne wMail") ERROR 1:
Server object error 'ASP 0177 : 800401f3' Server.CreateOb ject Failed
/mlcnet/library/cls_DataReports .asp, line 22
800401f3
CDONTS is deprecated and not included in Windows 2003. use CDO.Message
instead (see www.aspfaq.com if you need sample code)
--
Jason Brown
Microsoft GTSC, IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
"scott" <sb*****@milesl umber.com> wrote in message
news:en******** *****@TK2MSFTNG P15.phx.gbl... 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.CreateOb ject("CDONTS.Ne wMail") ERROR 1:
Server object error 'ASP 0177 : 800401f3' Server.CreateOb ject Failed
/mlcnet/library/cls_DataReports .asp, line 22
800401f3
Actually the others are right about CDONTS being deprecated. I still managed
to use it on my WinXP though, by simply copying the cdonts.dll (or similar)
file into my System32 directory.
"scott" <sb*****@milesl umber.com> wrote in message
news:en******** *****@TK2MSFTNG P15.phx.gbl... 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.CreateOb ject("CDONTS.Ne wMail") ERROR 1:
Server object error 'ASP 0177 : 800401f3' Server.CreateOb ject Failed
/mlcnet/library/cls_DataReports .asp, line 22
800401f3
thanks.
"Agoston Bejo" <gu***@yahoo.co m> wrote in message
news:uZ******** ******@TK2MSFTN GP10.phx.gbl... Actually the others are right about CDONTS being deprecated. I still managed to use it on my WinXP though, by simply copying the cdonts.dll (or similar) file into my System32 directory.
"scott" <sb*****@milesl umber.com> wrote in message news:en******** *****@TK2MSFTNG P15.phx.gbl... 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.CreateOb ject("CDONTS.Ne wMail") ERROR 1:
Server object error 'ASP 0177 : 800401f3' Server.CreateOb ject Failed
/mlcnet/library/cls_DataReports .asp, line 22
800401f3
I have several servers, some 200, and some 2003, if you wish to use CDONTS
instead of CDO you must register the CDONTS.DLL file in component services.
This will work fine.
Although there are many developers that say use CDO instead, I have chosen
to keep the legacy DLL in place for backwards-compatibility.
Hope this helps.
"Agoston Bejo" <gu***@yahoo.co m> wrote in message
news:uZ******** ******@TK2MSFTN GP10.phx.gbl... Actually the others are right about CDONTS being deprecated. I still managed to use it on my WinXP though, by simply copying the cdonts.dll (or similar) file into my System32 directory.
"scott" <sb*****@milesl umber.com> wrote in message news:en******** *****@TK2MSFTNG P15.phx.gbl... 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.CreateOb ject("CDONTS.Ne wMail") ERROR 1:
Server object error 'ASP 0177 : 800401f3' Server.CreateOb ject Failed
/mlcnet/library/cls_DataReports .asp, line 22
800401f3
On Thu, 21 Apr 2005 08:14:05 +0100, "Adam Short" <ad**@phuture-uk.net>
wrote: I have several servers, some 200, and some 2003, if you wish to use CDONTS instead of CDO you must register the CDONTS.DLL file in component services.
You also have to have a copy of the DLL, properly licensed of course.
All to use deprecated technology with more limited options and
automatic incompatibility in future OS releases.
Jeff
>I have several servers, some 200, and some 2003, if you wish to use CDONTS instead of CDO you must register the CDONTS.DLL file in component services.
This will work fine.
Although there are many developers that say use CDO instead, I have chosen to keep the legacy DLL in place for backwards-compatibility.
I'm not convinced this is a good solution. If you move to a different host,
you have to do the same CDONTS.dll registration. If you add a new server,
same thing. When you migrate to the next version of Windows, same thing
(assuming it is still supported). Plus, I remember reading somewhere that
the act either violates your license agreement, or invalidates product
support, or both. Not that they will ever come after you for it or suddenly
deny you support, but some shops do need to keep strict adherence in mind.
I can't imagine it would take all that long to change existing CDONTS code
to use CDO.Message. Spend the time now, have a common SendMail() function
in an include file, then the biggest problem is changing your mailing code
in one place instead of throughout your application.
A
I completely agree with you Aaron, you should try to keep up with the latest
supported versions of software. But unfortunately it is sometimes quicker
to install a DLL, take the risk of loosing support, than to re-write
hundreds of websites that currently use the old method.
Luckily these site will eventually by re-designed/re-developed and I'm sure
developers will take that opportunity to upgrade. We already have, and do
use CDO as opposed to CDONTS, I was merely letting Scott know it could be
done, how to do it, and for whatever reason. I didn't recommend he used
CDONTS instead of CDO!
"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:em******** ******@TK2MSFTN GP15.phx.gbl... I have several servers, some 200, and some 2003, if you wish to use CDONTS instead of CDO you must register the CDONTS.DLL file in component services.
This will work fine.
Although there are many developers that say use CDO instead, I have chosen to keep the legacy DLL in place for backwards-compatibility.
I'm not convinced this is a good solution. If you move to a different host, you have to do the same CDONTS.dll registration. If you add a new server, same thing. When you migrate to the next version of Windows, same thing (assuming it is still supported). Plus, I remember reading somewhere that the act either violates your license agreement, or invalidates product support, or both. Not that they will ever come after you for it or suddenly deny you support, but some shops do need to keep strict adherence in mind.
I can't imagine it would take all that long to change existing CDONTS code to use CDO.Message. Spend the time now, have a common SendMail() function in an include file, then the biggest problem is changing your mailing code in one place instead of throughout your application.
A This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: |
last post by:
Hi Guys
CDONTS works with all sites hosted on my test server bar one (which surely
rules out a miscomputation of the Default SMTP server in IIS). I have tried
uploading the file with make up the site in which CDONTS to one of the IIS
"sites" which is known to work with CDONTS, and still, no email received.
The bad mail dir gets three files each time, the error is:
|
by: |
last post by:
I did a working code with CDONTS on NT4
Now I am testing is on w2k and it looks like objCDONTS.Send is completely
ignored.
I think is it ignored because it throws no errors, neither does the rest of
the code setting
objCDONTS=Server.CreateObject("CDONTS.NewMail") and then manipulating its
properties.
Do I need to somehow set IIS5 to make objCDONTS.Send work?
|
by: Boris |
last post by:
Could someone please tell me if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server and if so, how can I send emails from ASP page...
Many thanks in advance
|
by: haode |
last post by:
to some mail accounts, I can't send mails to them?
Whoes fault is this?
the part of code is as follows.
<%
set mail=server.CreateObject("cdonts.newmail")
mail.To=aaa@aaa.com
mail.From="system@aaa.com"
mail.Subject=today & " New Messages"
|
by: tshad |
last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server.
We have been told by our web authors that their asp code won't work on our
machine and that we don't have CDONTS installed on our machine.
They're getting an error from:
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
I know that the new format is:
| |
by: Paul |
last post by:
I am using the CDONTS.NewMail object to send e-mail programmatically.
We upgraded our IIS server from NT to Windows 2003 Server.
Now it does not appear that the CDONTS object is available on the 2003
Server?
Is this correct?
If so, how does one send e-mail programmatically on 2003 Server using
|
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.
|
by: Hughesie11 |
last post by:
Im trying to post from a form to send an email, im using CDONTS ( I have to as it will be running on NT4), the object appears to get created fine, however the email is not sending, its generates 3 files in the C:\Inetpub\mailroot\Badmail directory they are .BDR, .BDP & .BAD files, here is the text of the .bad:
From: postmaster@SERVERMNAME
To: myemail@domain.com
Date: Fri, 14 Dec 2007 13:55:07 +0000
MIME-Version: 1.0
Content-Type:...
|
by: Earl Partridge |
last post by:
If there's a newgroup for this subject, please point me to it...
Is it possible to set the font size of the body of the text?
Earl
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |