简体   繁体   中英

Reading mails from outlook programmatically using C#

I am trying to create a program that reads my mail from Microsoft Outlook so that I can move them into different folders based on thier contents. I am using Microsoft.Office.Interop.Outlook 12.0, which works fine with Outlook 2007.

How do I handle scenario where another user uses Outlook 2010?

Do you need to use C#? If you don't need to use C#, you can open one of the messages that you need to move and click on "add rule". There you can define rules to, for example, move all mail from your boss into a folder called work. I don't see why you need to use C#. It would be very difficult to do that in C# except simulating mouse movements...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM