473,491 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CDONTS email

Hello

I am trying have a feed back page and created an ASP page
to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer")

Any suggetions to fix this, is appreciated.

Thanks
Jul 19 '05 #1
5 4317

"Krishnan" <kr*****************@hotmail.com> wrote in message
news:03****************************@phx.gbl...
Hello

I am trying have a feed back page and created an ASP page
to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer")

Any suggetions to fix this, is appreciated.

Thanks


should that not be

server.createobject("CDONTS.newmail") ??

just a guess as thats what I have in my pages and it works
Jul 19 '05 #2
Use CDO.Message

"Krishnan" <kr*****************@hotmail.com> wrote in message
news:03****************************@phx.gbl...
Hello

I am trying have a feed back page and created an ASP page
to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer")

Any suggetions to fix this, is appreciated.

Thanks

Jul 19 '05 #3

I have same error! tried cdo.message and cdo.NEWMAIL still
SAME error! perhaps we need to download something on the
SERVER ... help please...
-----Original Message-----

"Krishnan" <kr*****************@hotmail.com> wrote in messagenews:03****************************@phx.gbl...
Hello

I am trying have a feed back page and created an ASP page to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer")

Any suggetions to fix this, is appreciated.

Thanks


should that not be

server.createobject("CDONTS.newmail") ??

just a guess as thats what I have in my pages and it works
.

Jul 19 '05 #4
CDONTS doesn't exist on XP or Server 2003. You should be using CDO.Message
unless you're on an NT machine. See these links:

http://www.aspfaq.com/show.asp?id=2026
http://www.aspfaq.com/search.asp?q=CDONTS

Ray at work

"GIRISH / Gary" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...

I have same error! tried cdo.message and cdo.NEWMAIL still
SAME error! perhaps we need to download something on the
SERVER ... help please...
-----Original Message-----

"Krishnan" <kr*****************@hotmail.com> wrote in

message
news:03****************************@phx.gbl...
Hello

I am trying have a feed back page and created an ASP page to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer")

Any suggetions to fix this, is appreciated.

Thanks


should that not be

server.createobject("CDONTS.newmail") ??

just a guess as thats what I have in my pages and it works
.

Jul 19 '05 #5
Read the following article which should provide a solution,

http://www.aspfaq.com/show.asp?id=2026

P/

"Foo Man Chew" <fo*@man.chew> wrote in message
news:ey*************@tk2msftngp13.phx.gbl...
Use CDO.Message

"Krishnan" <kr*****************@hotmail.com> wrote in message
news:03****************************@phx.gbl...
Hello

I am trying have a feed back page and created an ASP page
to send an email. But I get the following error:

Error Type: Server object, ASP 0177 (0x800401F3)
Invalid class string

The line in the page is as follows:

Set Mailer = Server.CreateObject("CDONTS.Mailer")

Any suggetions to fix this, is appreciated.

Thanks


Jul 19 '05 #6

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

Similar topics

1
4693
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...
7
2535
by: Mario Leduc | last post by:
Hi, I have a page that sends user comments with CDONTS, works fine. Until I put a URL (http://192.168.0.1). If I use http://domain.com it works fine. Why with the numeric URL, CDONTS does not...
5
2608
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
2
9363
by: microsoft.public.dotnet.languages.csharp | last post by:
ASP.Net, C#, Email message, CDonts not CDO I am writing an ASP.Net application where I cannot use CDO. I must use CDonts. I cannot find an example of this on the Internet. I only see examples...
1
1703
by: Stimp | last post by:
I'm trying to send a mail using CDONTS with a .FROM email address that doesn't exist (like bob@nowhere.com), but it won't send the mail unless I put a valid .FROM email address (i.e. of an email...
4
2044
by: Dr. Harvey Waxman | last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I hope you forgive this basic question. There are two asp files for handling mail, the one that gets the info from a...
4
1632
by: Giorgio | last post by:
Hi, I'm working on this web space: NT4/Windows 98, Microsoft-IIS/4.0, 66.71.142.204 I can't send mail with CDO cause i get an error http://66.71.142.204/ASWebNews/newsletters/mail.asp <% Set...
7
2869
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...
0
1447
by: jbguernsey | last post by:
I am hoping to be able to avoid the Outlook security problem by using CDONTS and I tried using the code below (with appropriate change to the address etc): Dim oEMail As New CDONTS.EMail ...
6
2915
by: jbguernsey | last post by:
for: There was no reference to CDO in the References so selected CDO. Code didn't work (CDONTS.email unrecognised). read There was no reference to CDONTS in the References so selected CDO....
0
7115
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,...
0
6978
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...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5451
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,...
0
4578
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...
0
3086
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...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1392
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 ...
0
280
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...

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.