Stuart Bray
2009-12-22 20:02:04 UTC
Hi All,
I've got code that exports Outlook items to .MSG files that has worked
in all Outlook versions up to Outlook 2007. Unfortunately, this same
code is producing corrupt MSG files in Outlook 2010. Note that this
code is based on the same code from the Microsoft KB article "Save
Message to MSG Compound File" here:
http://support.microsoft.com/kb/171907
The .MSG files exported by our application are about half the size of
the .MSG files that are exported by Outlook itself. When I double
click them on the file system, while Outlook is running I get an error
dialog from Outlook saying "The operation failed". When I try to
open the MSG while Outlook is not running, I get an error dialog
"Cannot start Microsoft Outlook".
Has anyone else noticed this behavior? Are there any changes to MAPI
in Outlook 2010 that I am missing?
Thanks in advance,
-Stuart
I've got code that exports Outlook items to .MSG files that has worked
in all Outlook versions up to Outlook 2007. Unfortunately, this same
code is producing corrupt MSG files in Outlook 2010. Note that this
code is based on the same code from the Microsoft KB article "Save
Message to MSG Compound File" here:
http://support.microsoft.com/kb/171907
The .MSG files exported by our application are about half the size of
the .MSG files that are exported by Outlook itself. When I double
click them on the file system, while Outlook is running I get an error
dialog from Outlook saying "The operation failed". When I try to
open the MSG while Outlook is not running, I get an error dialog
"Cannot start Microsoft Outlook".
Has anyone else noticed this behavior? Are there any changes to MAPI
in Outlook 2010 that I am missing?
Thanks in advance,
-Stuart