Solved

CDO Error

Posted on 2002-03-14
3
995 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

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 …
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now