SmtpMail.Send - Class not registered

B

Brian Newtz

Hello!

My development machine is WinXP and I am trying to use
System.Web.Mail.SmtpMail to send emails. I was able to
send out one email, but now the Send method fails every
time. I added some error handling to record all of the
inner exceptions returned by the Send method so I could
see the COM error, and this is what I get:

Exception has been thrown by the target of an invocation.
Class not registered.

Now I've checked, and cdosys.dll is registered on my
machine, and it is referenced under the correct CLSID in
the registry. So what's going on here?

Any help would be greatly appreciated!
Thanks,
Brian
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top