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.  
bxy11Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
LunchyConnect With a Mentor Commented:
Closed, 125 points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0
 
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
All Courses

From novice to tech pro — start learning today.