• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Reading the Outlook Sent Item folder

I extract information from outlook express folders using MAPI functions.

How can I get to the Sent Item folder ?
The defaulte MAPIFindNext take me to the inbox.

1 Solution
You really shouldn't be using MAPIFindNext (or any of it's friends) anymore.  Microsoft is basically discarding the entire MAPI API and has replaced it with a COM interface.  While it may cause some "turbulence" in your project, you'll find that converting now will not only get you the functionality you need today, it will get you support going forward.  

Check the "MAPI Interfaces" section in the MSDN Library.  This is the current MAPI API that should be used.
Simple MAPI is not the way to go, as previously stated. I recommend that you use CDO. It encapsulates the kind of things you want to do very well.

I have a CDO wrapper if you are interested.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now