By Rob Taylor
The SMTP service is a component of IIS that comes with Option Pack 4 http://www.microsoft.com/ntserver/nts/downloads/recommended/NT4OptPk/default.asp
Simple Mail Transfer Protocol (SMTP) is the set of rules and instructions for
delivering mail between servers. If you try to run a mail script written in
CDONTS and you get an error that says
Invalid class string, then you do not
have SMTP service installed. Call your ISP. If you are running your own server,
go the the MMC console and see if the index server is listed there. If not, install
option pack 4, then install the SMTP service. When you are done, re-run the Service Pack.
Why Do I get a failure to create object error?
You are getting this error because you no not have CDONTS available to you or you have a syntax error in your code where you create the mail object.
CDONTS is part of the SMTP service which can be installed from Option pack 4. CDONTS stands for Collaborative Data Objects for NTS. It allows you to send messages from your ASP application.
Contact your ISP to see if CDONTS is installed or to find out what mail component they have.
|For a lengthy listing of great articles around the Web dealing with sending emails with ASP, be sure to check out our: Learn More About Sending Emails Article Index!|
|FAQ Table of Contents||A Simple CDONTS Example|