|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I want to send a confirmation email automatically (without a second page and button to click) to a subscriber when she signs up for my newsletter. I am using a form and FrontPage generated ASP to save the information to a database, and that part works.
Now I need to get the address from the form and send email to it. When I use the following: Quote:
I get an invalid class error. I am running IIS 6 on my local machine that I use for testing, and it has SMTP installed and running. ![]() |
|
#2
|
|||
|
|||
|
I had a similar problem when moving to IIS 6 / Windows 2003
http://www.devarticles.com/forum/sh...=&threadid=3568 "Microsoft is using a new progID of the DLL used to send mail through CDO (CDONTS.NewMail is being shuffled out)" (from http://www.aspfaq.com/show.asp?id=2026) Long story short, you need to copy the cdonts.dll from a Windows 2000 box and register it or rewrite your code. |
|
#3
|
|||
|
|||
|
Thanks. I've been reading about CDOSYS and since my code isn't working anyway, I'll look for a bigger hammer.
|
|
#4
|
||||
|
||||
|
I'd def recommend learning CDOSYS. I've used it recently and it is about a gazillion times more powerful than CDONTS (which, lets face it, sucked for anything more complicated than sending one simple email). CDOSYS is also 5 times faster, and interfaces nicely with exchange (i.e. better messaging capabilities). You have control over which SMTP u wanna use, you can queue messages (for mass mailing)...etc... the list goes on.
Here's an article on making the transition |
|
#5
|
|||
|
|||
|
Thanks for the article. It cleared up several things.
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Invalid Class Object error using CDONTS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|