Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 577
  • 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
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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

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