I am taking a message from WebDAV in mime format and attempting to add it to the PST. I am Getting (Invalid operation exception -- This is not a structured storage file.) I can write it to dasd and view it ok in Mozilla Thunderbird. I can export to Exchange 2010 with no issues. Am using the following command;
inboxFolder.AddMessage(MapiMessage.FromFile(@"c:\aaatemp\Msg0.EML"));
Msg0.msg does not work either.
If I create the message from my email files on my desktop outlook machine it does work. Do I have to referrence something other than outlook? I am creating the PST using
Aspose.Email.Outlook.Pst.PersonalStorage pst = Aspose.Email.Outlook.Pst.PersonalStorage.Create(PTS_File_Name, FileFormatVersion.Unicode);
How do I write a mime message from WebDAV to the PST?