Outlook automation in C#
Posted on 2004-04-13
I need a jumpstart getting Outlook automation working under C#:
Here are the requirements:
1) I need to be able to navigate to a specific folder in Outlook
2) Once I am in this folder, I need to programmatically loop through the e-mails in the folder.
3) Inside the loop, I need to open each e-mail and read the message body into a C# string variable.
4) Then I want to parse the string variable (containing the e-mail message body) and look for certain phrases.
#4 I can do, but 1 thru 3 I'd like some sample code.
Please only respond if you are pretty experienced in Outlook Automation and can provide working code in C# only.
My Sincere Thanks,