472,354 Members | 1,228 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 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 3988
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)
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

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.