For maximun points 500 I am looking for some following code that will do the following:
1. Compile with Visual C# 2008 Express.
2. Open an Inbox in Outlook 2007 and itereate through every item within that mailbox.
e.g. Open Inbox.
foreach .... and loop through every mail item.
Be great it it could also iterate through sub folders as well but hopefully I can adapt it
once i get the starting point.
3. Must use the Outlook 2007 PIA classes and not the depreciated ones.
Welcome to the Outlook 2007 Primary Interop Assembly Reference
4. It does not need to do anything to each item, just say print the email address of each
on the console, I am just looking for a skeleton code I can adapt.
Maximun points for a working sample I can just copy and paste into C# 2008 express.