473,785 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDONTS doesnt seem to work

RIP
i posted earlier, and the response seemed to be there is
another dll i need to use the cdonts object, i used it
fine for awhile on my old setup, i upgraded to 2k3 and it
errors up as if cdonts isnt an object. So is there a dll
i need to have to use the cdonts object in iis 6 or do i
need to rewrite my code to use cdo? (if so, please provide
asp 3 example on how to send an email with recepient,
sender, body and subject)
Jul 19 '05 #1
2 1354
> i upgraded to 2k3 and it
errors up as if cdonts isnt an object.
That's because it isn't an object... CDONTS is deprecated.
do i need to rewrite my code to use cdo?


Yes.
http://www.aspfaq.com/2026

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2
"RIP" wrote:
: i posted earlier, and the response seemed to be there is
: another dll i need to use the cdonts object, i used it
: fine for awhile on my old setup, i upgraded to 2k3 and it
: errors up as if cdonts isnt an object. So is there a dll
: i need to have to use the cdonts object in iis 6 or do i
: need to rewrite my code to use cdo? (if so, please provide
: asp 3 example on how to send an email with recepient,
: sender, body and subject)

CDONTS does not come with W2K3 Server. You should consider using CDO, which
does come with W2K3.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #3

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

Similar topics

3
1894
by: amith shetty | last post by:
I am using CDONTS to send mail to the user from my ASP application. However, the code doenst works all the time. I am able to get mails but nothing happnes most of the time. The code works maybe once in 20 tries. What could be the reason? Thanks in advance. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
2
2243
by: John Savidge | last post by:
Hi All, I had this simple CDONTS form to email code working a few days ago. However it doesn't seem to work now as I am not receiving the emails the form generates. Below is my code, can anyone see any errors in it ? I think I've looked at it too many times and keep missing an obvious error. The form posts the form content to the query string.
29
3546
by: | last post by:
I did a working code with CDONTS on NT4 Now I am testing is on w2k and it looks like objCDONTS.Send is completely ignored. I think is it ignored because it throws no errors, neither does the rest of the code setting objCDONTS=Server.CreateObject("CDONTS.NewMail") and then manipulating its properties. Do I need to somehow set IIS5 to make objCDONTS.Send work?
5
8384
by: RIP | last post by:
The time came to upgrade the webserver from 2k server to 2k3 server. In 2k server, the primary web ran flawlessly day after day. I burned the web's files to disk, and put them into the new server, seemed to work til i came to a point where the script needed to mail some people. Script is written in ASP 3.0, and the error is Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object: 'CDONTS.NewMail'
2
1221
by: Savas Ates | last post by:
im sending email with cdonts.. my mail format is html format.. and also in my mail code there are html and javascript codes. i open my mail with outlook it works.. but im sending it to hotmail or yahoo emails the browser doesnt interpret it writes javascript codes like a text on screen. how can i solve it?
5
586
by: tom | last post by:
Hi people - I've been trying to make run this form mail with CDONTS but doesnt work at all! it's the first time am using it,could anybody check out where the error might be and let me know, please? I trust in you, please help me - bye tom
16
3174
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is:
4
1872
by: Jason Steeves | last post by:
I am using cdonts to send mail messages with an attachment. The problem I am having is the messages are going through OK but the attachments are not there. Any ideas? I have tried my code elsewhere and it looks OK...........Jason
1
1724
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 address that exists) The mails I try to send on the Windows 2000 server are moved into the mailroot/Badmail folder as spam.. so this would seem to be a built-in spam prevention tool that CDONTS employs. This would be fine, if it always worked,...
0
9489
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10162
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9959
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6744
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.