Outlook 2003 Object Model Problem
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi Am am trying to automatically open email by using C++ to drive Outlook 2003. I use #import to get the correct libraries and everything is working fine except I cannot read encrypted emails. I have an _ItemsPtr for the inbox which I can use to iterate through all the items I have received and I can read all the non-encrypted ones but I can't access the encrypted ones. When I query the IDispatch for the item to get an _MailItemPtr it says the interface is not supported. The same code (using the appropriate libraries) works fine for Outlook 98, 2000, and 2002, just not for 2003. Any ideas? Is there something extra I need to do for encrypted mails? Mike