convert body message in specific outlook folder to text file in harddisk

J

Jorge

Hello, I have a subfolder in inbox folder,I have a rule that send a
specific email direction to this subfolder, I need convert body of the
mail in this subfolder to a text file in hard disk,¿How can I do it?

Thank you.
 
S

Sue Mosher [MVP]

You could use the MAPIFolder.ITems.ItemAdd method to monitor the folder for new items, then use the MailItem.SaveAs method to create a text file.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top