473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Server.CreateObject("CDONTS.NewMail") Problem

What do I need to do to enable CDONTS om my macine to make it working

I'm testing the code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "xy*@xxxxx.com"
objCDO.From = "zy*@zzzzz.com"
objCDO.Subject = "TESST CDONTS MAIL"
objCDO.Body = "SOME TEXT TO SEND OVER"
objCDO.Send
Set objCDO = Nothing

It gives me an error after Set objCDO =
Server.CreateObject("CDONTS.NewMail")
Server object, ASP 0177 (0x800401F3)
Invalid class string
Jan 9 '06 #1
5 27663
Here's a nice CDO link even if you don't use the attachment part:
Email (with Attachment)
http://www.asp101.com/samples/email_attach.asp

And CDO is generally used instead of CDONTS on IIS 5 and after
(actually the SMTP service within IIS) which is generally on servers
after Win NT4 (although I think CDONTS is sometimes still supported
too).

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

Jan 9 '06 #2
and this example shows many ways of using cdosys instead of just using the
smtp pickup from the smtp server which might not be running

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


<pa**@bullschmidt.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Here's a nice CDO link even if you don't use the attachment part:
Email (with Attachment)
http://www.asp101.com/samples/email_attach.asp

And CDO is generally used instead of CDONTS on IIS 5 and after
(actually the SMTP service within IIS) which is generally on servers
after Win NT4 (although I think CDONTS is sometimes still supported
too).

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips

Jan 10 '06 #3
On Mon, 9 Jan 2006 15:06:53 -0800, "MichaelK" <mi******@gomobile.com>
wrote:
What do I need to do to enable CDONTS om my macine to make it working

I'm testing the code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "xy*@xxxxx.com"
objCDO.From = "zy*@zzzzz.com"
objCDO.Subject = "TESST CDONTS MAIL"
objCDO.Body = "SOME TEXT TO SEND OVER"
objCDO.Send
Set objCDO = Nothing

It gives me an error after Set objCDO =
Server.CreateObject("CDONTS.NewMail")
Server object, ASP 0177 (0x800401F3)
Invalid class string


1) USE CDO, CDONTS is deprecated.

2) CDONTS doesn't exist on Server 2003

3) See: http://www.4guysfromrolla.com/webtech/112298-1.shtml

Jeff
Jan 10 '06 #4
Thanks Kyle.
This is a good one, I'm talking about method 3 on this page.

All others suggested samples didn't work for me by some reason.
Michael

"Kyle Peterson" <ky*****@hotmail.com> wrote in message
news:uA**************@TK2MSFTNGP15.phx.gbl...
and this example shows many ways of using cdosys instead of just using the
smtp pickup from the smtp server which might not be running

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


<pa**@bullschmidt.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Here's a nice CDO link even if you don't use the attachment part:
Email (with Attachment)
http://www.asp101.com/samples/email_attach.asp

And CDO is generally used instead of CDONTS on IIS 5 and after
(actually the SMTP service within IIS) which is generally on servers
after Win NT4 (although I think CDONTS is sometimes still supported
too).

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips


Jan 10 '06 #5
your welcome, in my opinion that is one of the better CDOSYS articles
available on the web...
to the point and shows some different examples of various emailing sending
methods with CDOSYS

CDOSYS is very flexible..

"MichaelK" <mi******@gomobile.com> wrote in message
news:u5**************@TK2MSFTNGP14.phx.gbl...
Thanks Kyle.
This is a good one, I'm talking about method 3 on this page.

All others suggested samples didn't work for me by some reason.
Michael

"Kyle Peterson" <ky*****@hotmail.com> wrote in message
news:uA**************@TK2MSFTNGP15.phx.gbl...
and this example shows many ways of using cdosys instead of just using
the smtp pickup from the smtp server which might not be running

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


<pa**@bullschmidt.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Here's a nice CDO link even if you don't use the attachment part:
Email (with Attachment)
http://www.asp101.com/samples/email_attach.asp

And CDO is generally used instead of CDONTS on IIS 5 and after
(actually the SMTP service within IIS) which is generally on servers
after Win NT4 (although I think CDONTS is sometimes still supported
too).

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips



Jan 10 '06 #6

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

Similar topics

0
by: Anurag Saxena | last post by:
If someone can solve this problem,I am using ASP3.0 and IIS on windows 2000 server The complete Error is '''''''''''''''''''''''''''''''''' Server object error 'ASP 0177 : 800401f3' ...
0
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...
12
by: karen | last post by:
Hi all : this is going to be a long post. So i apologize in advance :) i am converting a java program in VB right now. I am a java programmer by trade. so i am no expert in this department. I...
4
by: Bill Nguyen | last post by:
Win 2003 IIS 6.0 My users got this error message trying to run a simple ASP application (sending email using CDO). I have no problem ( with Admin permission): Server object error 'ASP...
1
by: summer | last post by:
Hello, I'm not receiving my email, I believe I'm almost there, but can't figure out what I'm missing. Any Clue would be appreciated. Here's my html and asp code. I've included the cdovbs.inc...
1
by: David Di Donato | last post by:
hi i have a big problem. i have an asp file with the following source code.... ****** Set r_ = Server.CreateObject ("Access.Application.10") s1 = "DoAnything()" with r_
0
by: quintesv | last post by:
hi all, Running VS.2003 , framework 1.1. I have a COM object written in Delphi which im trying to call through ASP.NET. The COM object connects to a folder on another machine and opens a...
12
by: John Connic | last post by:
Hi All: I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even...
3
by: whelme | last post by:
Hi, i am trying to make a comments page for a website but when i upload it to a free hosting account and try to test the page i keep getting Server.CreateObject Failed is this problem because...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.