CDONTS.NewMail - not working...!

S

Steve

Hi all,

I'm using IIS 5 on a win xp machine for all my testing,
before I upload to our live server. I've installed the
SMTP service and it's running with no errors.

Dose anyone know anything about the above set-up not
supporting "CDONTS.NewMail" for sending email using
ASP..?

I get the following error message: "Server object, ASP
0177 (0x800401F3) Invalid class string".

Any help would be great..

Thanks

Steve
 
A

Aaron Bertrand - MVP

I'm using IIS 5 on a win xp machine for all my testing,
before I upload to our live server. I've installed the
SMTP service and it's running with no errors.

Dose anyone know anything about the above set-up not
supporting "CDONTS.NewMail" for sending email using
ASP..?

CDONTS has been deprecated, and no longer ships in XP or Windows Server
2003. Please search aspfaq.com for "cdo.message" without the quotes for
some code samples using that object instead.
 
I

Israel Derdik

If you must use CDONTS, you can copy the file cdonts.dll and manually
register it on your xp box. However, CDO.Message is the correct way to go.
 
S

Steve

Thanks Israel/Aaron for your answers... Do you know if
CDO.Message will work with IIS4 and/or win2k...?

Steve
 
A

Aaron Bertrand - MVP

Yes, it will work with Windows 2000. I don't believe NT 4.0 had it.

You could build a conditional sub, I suppose, based on
request.serverVariables("SERVER_SOFTWARE"). Or, you could use one of many
other ways to send mail... search for "send_e" without the quotes at
www.aspfaq.com ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top