How to check unread mail of outlook 2007 from asp.net 4.0 ? I am using Express edition and I have added reference of Microsoft office object library 12. I am not sure what should I code to see the uread mail from my outlook. Any help?
EDIT 1
I have got the duplicate question on stackoverflow Get unread Mails from Outlook
But I am getting error while running the application [Runtime Error]:
System.IO.FileNotFoundException: Could not load file or assembly 'Office, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.