Reputation: 675
I need to write a program that extracts contents of email messages with specific subjects and saves in a text file. Where do I start? Which language has the necessary support?
Upvotes: 3
Views: 1036
Reputation: 623
I'm lazy and like to go with VBA. If you like VBA, you can find the references below for most of what you need:
Folder.Items to get the items- http://msdn.microsoft.com/en-us/library/office/ff864247.aspx
.MailItem - http://msdn.microsoft.com/en-us/library/office/ff861332.aspx
.Subject - http://msdn.microsoft.com/en-us/library/office/ff865652.aspx
.Body - http://msdn.microsoft.com/en-us/library/office/ff865304.aspx
.SaveAs to save the message as a document - http://msdn.microsoft.com/en-us/library/office/ff868727.aspx
Upvotes: 0
Reputation: 8241
You can interoperate with Outlook from C++ or .NET languages using Outlook's COM+ interface.
You can find more information at Microsoft's Outlook Developer Center.
Upvotes: 2