tags:

views:

2406

answers:

3

Hello,

I've been tasked with writing a outlook .MSG files from XML files that have associated metadata. I've tried using the Aspose library, but all of the exposed MapiMessage properties are read only. Using the Outlook Object Model I'm unable to change the creation date, and other properties that I must have access to. I've also tried the Rebex library also, but it exports to EML, and doesn't support RTF.

My question is, is there a Mapi or any kind of way to write a .MSG file and have access over every property?

+1  A: 

Take a look at http://www.dimastr.com/redemption/ Not positive, but it sounds like it can do what you need

Davy8
+2  A: 

Hi,

Aspose now supports creating new msg files. Please check out http://www.aspose.com/documentation/utility-components/aspose.network-for-.net/creatingsaving-outlook-message-msg-files.html for details.

However, updating existing msg files is not supported currently. If you load an msg file using MapiMessage class, the properties will still be readonly.

A: 

try DCI Mail Processor SDK http://dci-software.com/MailProcessor/mpmain.html