Solved

CDO Error

Posted on 2002-03-14
3
996 Views
Last Modified: 2006-11-17
Hi,

The following I am excuting the following code to access mail boxes on an exchange server. While this code works perfectly on the Personal Web Server on Win 98 it gives the following error in Win2K IIS : MAPI_E_NOT_FOUND(8004010F).

Code :

Set objSession = CreateObject ("MAPI.Session")
objSession.logon "account_name"
Set objInboxFolder = objSession.Inbox
Set objMessages = objInboxFolder.Messages
Set objMsg = objMessages.GetFirst

0
Comment
Question by:catherine_smith
  • 2
3 Comments
 
LVL 46

Expert Comment

by:fritz_the_blank
ID: 6864642
Are you sure that the CDO.dll is installed and registered?

Fritz the Blank
0
 
LVL 46

Accepted Solution

by:
fritz_the_blank earned 50 total points
ID: 6864654
0
 
LVL 1

Expert Comment

by:madeline448
ID: 9327027
catherine_smith,

No comment has been added lately (more than a year now), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to fritz_the_blank.

Please leave any comments here within seven days.

-- PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER! --

Thanks,

madeline448
EE Cleanup Volunteer
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question