I need code written in C# (preferred, VB.NET is also acceptable) to extract all email messages from Outlook 2003 and copy the email messages into SQL Server Express 2005.
Two modes of operation are needed:
1. Extract all to and from receipients, message date and subject.
2. Extract all information including message body.
Code needs to be as fast or faster than Microsoft's SNARF ([url removed, login to view]) for operation mode #1.
The code must be able to operate on outlook in exchange server mode as well as in stand alone mode. The code must be able to work on mailboxes with over 100,000 messages. The code must also enumerate and walk through multilevels of folders in the Outlook inbox, processing each email, and storing the folder location in the SQL database as well.
You will provide a C# project with source code that will compile to a stand alone executable (console or windows app is ok).
Effeciency is key, and I will pay a bonus for code that is faster than Microsoft's SNARF code.