473,385 Members | 1,218 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,385 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 27672
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...
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.