ASP Is Fun

Learning ASP
Free Course
Basics
Functions
SQL Commands
Sample Code


Servers / Setup
Host Reviews
Server Setup
Error Tips


Contract ASP
Development

Search For:


Intro to ASP


 
ASP Intro Ebook


ActiveX component can't create object: 'CDONTS.NewMail'



Sending mail in ASP is one of the most basic tasks to accomplish. What happens when you get the error ActiveX component can't create object: 'CDONTS.NewMail'?

If ASP can't create a CDONTS object, it probably means that you don't have CDONTS installed in the first place. This would depend on what OS your ASP server is running.

As you might imagine, CDONTS is a part of the Windows NT operating system. This still works on Windows 2000 Servers as well - but if you're running a Windows XP system, you might not have the old NT software on it. Microsoft gave up on back-supporting ancient NT code.

You can always of course work with the cdonts.dll file from 2000 or NT and get it running on your new server. This is the easiest solution if you have a lot of code completed already. However, if you are coding fresh for XP, you might want to look into using the new CDO object instead.

Microsoft's Page on CDO Coding

ASP Mail Code and Troubleshooting

Bookmark this site so you can reference it any time you have ASP questions in the future!




ASP Main Page | ASP Ebooks | Free ASP Course | Contact Lisa
All content copyright © 2012 Minerva WebWorks LLC. All rights reserved.

Italian Wedding


Free Newsletter!

Ebooks
Intro to ASP
ASP SQL DB
Members
Shopping


Introduction to ASP

Romance Tips
Irish Romance
Italian Romance
French Romance

ASP Poll
How do you handle 500 errors?
I don't
Page does nothing
Displays error
Emails error