473,386 Members | 1,785 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,386 software developers and data experts.

Could not create 'CDONTS.NewMail' object...

Hello!

Could anybody help me.

I wrote a program that interprets information in a database, and can send
information via email. The program works fine on my developer machine, but
when I run it on an other computer, I get the error "Could not create
'CDONTS.NewMail' object..." a lot of times and then an error: "Failed to
load resources from resource file. Please check your Setup.".

Has anybody seen this error before? What should I do? I cannot find much
information on the internet or in newsgroups, so I really hope somebody can
help me out here.

Thanks,
Guillaume Hanique.
Jul 19 '05 #1
3 4066
Hi Guillaume ,

Cdonts will work only in windows machine. If the machine is is windows OS
then check the settings in IIS server. Check whether the it is switched on.

Try with
Set objConfiguration = CreateObject("CDO.Configuration")

CDO>Configuration object. This is also used for sending email This object is
platform independent.

--
Thanx And Regards

Anantha Narayanan Vijayaraghavan
(Software Engineer)
Jul 19 '05 #2
CDONTS is not longer support by WinXP, maybe your developer machine has
Win2K and the other one has a newer version of Windows. I have to use
"System.Web.Mail" namespace in VB.Net in order to send the mail, works
almost the same as CDONTS but you have to code in .Net (VB.Net or C# or C++,
etc), as far as I know.
Bye

Omar

"Guillaume Hanique" <g.**************@adviesburo-snijders.nl> escribió en el
mensaje news:uX**************@TK2MSFTNGP12.phx.gbl...
Hello!

Could anybody help me.

I wrote a program that interprets information in a database, and can send
information via email. The program works fine on my developer machine, but
when I run it on an other computer, I get the error "Could not create
'CDONTS.NewMail' object..." a lot of times and then an error: "Failed to
load resources from resource file. Please check your Setup.".

Has anybody seen this error before? What should I do? I cannot find much
information on the internet or in newsgroups, so I really hope somebody can help me out here.

Thanks,
Guillaume Hanique.

Jul 19 '05 #3
Guillaume Hanique wrote:
|| Hello!
||
|| Could anybody help me.
||
|| I wrote a program that interprets information in a database, and can
|| send information via email. The program works fine on my developer
|| machine, but when I run it on an other computer, I get the error
|| "Could not create 'CDONTS.NewMail' object..." a lot of times and
|| then an error: "Failed to load resources from resource file. Please
|| check your Setup.".
||
|| Has anybody seen this error before? What should I do? I cannot find
|| much information on the internet or in newsgroups, so I really hope
|| somebody can help me out here.
||
|| Thanks,
|| Guillaume Hanique.

Please specify at least which OS both machines are running.

Willy.
Jul 19 '05 #4

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

Similar topics

2
by: Tom Petersen | last post by:
Is there anyway to display the comma using CDONTS.NewMail on the from 'object' For example, when I send the email, I want it to say from: Petersen, Tom, but when I rec. it only shows Petersen. ...
1
by: aa | last post by:
I am using IIS5 on winXP, and when I using progrma writing with asp, I get the error ActiveX component can't create object: 'CDONTS.NewMail' whats wrong?
6
by: vasanth kumar | last post by:
I am running the following script for sending e-mail thro web Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = "vkumar@ugs.com" objCDOMail.To = "vkumar@ugs.com"...
3
by: Robert Hogan | last post by:
Hello, I am attempting to send emails using T-SQL (in a SQLServerAgent Job) using the stored procedure sp_SendSMTPMail. I created the stored proc using the following script that I got off a post...
4
by: kiran | last post by:
Hi, I wrote mailing service code for my Windows Application. When I was trying to send a mail thru my application, an Error occurs only for Windows NT saying that "Could not create...
2
by: Anthony Boudouvas | last post by:
Hi to all, i am just try to send emails in a timer-loop fashion, using the code below and i get the following error message: Could not create 'CDONTS.NewMail' The problem is not happening...
6
by: Guillaume Hanique | last post by:
Hello! Could anybody help me. I wrote a program that interprets information in a database, and can send information via email. The program works fine on my developer machine, but when I run...
5
by: MichaelK | last post by:
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 = "xyz@xxxxx.com"...
1
by: SSG | last post by:
Dear All, I am new to ASP , I am using Win XP pro .. I am trying to send mail thru ASP pgm... BW is the coding....... <% Sub send_email(email_from, email_to, email_subject, email_body)
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
0
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...
0
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,...

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.