Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SmtpMail.Send - Library not registered

22 views
Skip to first unread message

mrrrk

unread,
Aug 14, 2002, 11:53:34 AM8/14/02
to
I'm trying to test an app. on my Win 2000 workstation that sends mail. I'm
specifying a mail server using SmtpMail.SmtpServer = "myServer" but I get a
library not registered message and it seems to be trying to access CDO.

Surely it can send mail using a specified SMTP server without using CDO?
And I don't understand why it has a problem with CDO since I have Outlook
2002 installed and that works fine.

I'd appreciate any ideas.

TIA


Felix Wu(MS)

unread,
Aug 19, 2002, 5:55:06 AM8/19/02
to
Hi TIA,

Yes, the SmtpMail uses CDO objects to send emails. Did you get error like
"Could not access 'CDO.Message' object"? If so, it was probably caused by
permission issues. You do not have read permissions for the type library
settings for the CDOSYS. You can try the following methods:

1. If it is a ASP.NET application, try to set the "UserName" attribute in
the machine.config to "SYSTEM".

2. Disable "Anonymous" access on the page.

3. Give sufficient permissions to
HKCR\TypeLib\{CD000000-8B95-11D1-82DB-00C04FB1625D} (see the Edit
->Permissions...)

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: "mrrrk" <mark.h...@cksogjjdsdh.skf>
>Subject: SmtpMail.Send - Library not registered
>Date: Wed, 14 Aug 2002 16:53:34 +0100
>Lines: 13
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Message-ID: <eWQZeq6QCHA.3204@tkmsftngp13>
>Newsgroups: microsoft.public.dotnet.framework
>NNTP-Posting-Host: 217.34.102.209
>Path: cpmsftngxa06!tkmsftngp01!tkmsftngp13
>Xref: cpmsftngxa06 microsoft.public.dotnet.framework:23609
>X-Tomcat-NG: microsoft.public.dotnet.framework

mrrrk

unread,
Aug 19, 2002, 11:04:27 AM8/19/02
to
The problem does seem to have been permission based as you suggested.

Not really sure exactly what I did but I seem to have gotten it to work now.

Thanks

BTW, TIA = Thanks In Advance :)

"Felix Wu(MS)" <fel...@online.microsoft.com> wrote in message
news:2$dInZ2RCHA.1860@cpmsftngxa08...

0 new messages