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

A Mail related question (MAPI)

I want to a project in which
all the new Mails and Appointments
in MS-Outlook must be read and entered into the database. Is there any MAPI function or please tell me how I can get the new mail messages and appointments from MS-Outlook?
0
balasundaram
Asked:
balasundaram
1 Solution
 
mikeblasCommented:
You use the MAPI OLE objects and their interfaces.  Roughly:

1) Select a profile.
2) Use that profile to logon
3) Open the mail store
4) Enumerate the mail store, searching for your definition of "new"

If you hit any items in #4, you can query their content or attributes.

A book like "Inside MAPI" will provide all the samples you need. A reference for all the interfaces is in the Patform SDK, as well.

..B ekiM
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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