472,811 Members | 1,482 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,811 software developers and data experts.

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 4283

"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
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
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
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
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
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
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
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
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
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
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....
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.