![]() |
Read From A Saved MSG File
I need to open various *.msg files saved into a Project folder, and list them
in an MS-Access form. The form elements are all set, but I cannot find any example of reading properties from msg files (From, To, etc.). Any ideas? |
Read From A Saved MSG File
You will need to use the Outlook object model. Use
Application.CreateItemFromTemplate() to open the MSG files and then read the properties normally as Outlook item properties. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Justin" wrote in message ... I need to open various *.msg files saved into a Project folder, and list them in an MS-Access form. The form elements are all set, but I cannot find any example of reading properties from msg files (From, To, etc.). Any ideas? |
Read From A Saved MSG File
Keep in mind that Outlook will strip out all the sender related properties
-- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Ken Slovak - [MVP - Outlook]" wrote in message ... You will need to use the Outlook object model. Use Application.CreateItemFromTemplate() to open the MSG files and then read the properties normally as Outlook item properties. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Justin" wrote in message ... I need to open various *.msg files saved into a Project folder, and list them in an MS-Access form. The form elements are all set, but I cannot find any example of reading properties from msg files (From, To, etc.). Any ideas? |
All times are GMT +1. The time now is 07:12 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com