0

What are the proper project references (.NET or COM or otherwise) and downloads I need to program using Visual Studio 2010 C# so I can programmatically create 1,000 folders and rules in an Outlook users mailbox?

I have tried CDO but it appears to be way out of date and very hard to use now.

Community
  • 1
  • 1
  • Just added a VSTO to Excel for a customer. It worked pretty well for the most part. http://msdn.microsoft.com/en-US/office/hh128768.aspx – kenny Jun 14 '12 at 21:33
  • @Calon hey man please, stop doing this with tags... If you edit the post, fix it, arrange it, not just change one tag for another very similar – AlvaroAV Feb 13 '15 at 07:34

1 Answers1

0

1000 folders and rules seems complicated - is this against an Outlook PST or an Exchange mailbox?

I digress. CDO / CDONTS is obsolete (but easy enough to use in COM, in my opinion). The current API documentation and advice is available here: http://msdn.microsoft.com/en-us/library/bb652780.aspx

Assuming you used the installation defaults for Office and VS you should find interop assemblies in your system somewhere - just reference them in your project and have some fun.

Dai
  • 141,631
  • 28
  • 261
  • 374