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 5 27676
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
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
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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'
...
|
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...
|
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...
|
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...
|
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...
| |
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_
|
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...
|
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...
|
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...
|
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,...
|
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...
| |
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
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 ...
| |
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...
| |