[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

Is there an internal ID associated with each email in Exchange? How to retrieve it?

We've set up a mailbox on the Exchange Server and we use it to hold certain emails that need to be shared and viewed by a group of users.  To process the emails in this mailbox, we are planning to write a script to automatically read info like subject, date, to, from each email and save them into a database.  Users can view a list of emails from a customer application.  Since we'll allow the users to open each email in their local Outlook to view the contents, is there a unique ID associated with each email in Exchange?  How do I can the ID?  Also how do I open the message from this application?  What type of script could do this?  Our current Exchange Server is 5.5 and will be upgraded to 2003 in about a year.  Thanks.  
0
bxy11
Asked:
bxy11
1 Solution
 
bxy11Author Commented:
I found the answer myself.  MAPI exposes a function to retrieve item, in this case, a mail item by both StoreID and EntryID.  
0
 
LunchyCommented:
Closed, 125 points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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