
Importing MSG files back into Outlook
I know this topic has been covered before, but I still can't find a
satisfactory solution.
We have an archive of thousands of MSG files on HD (mail, contacts,
notes etc) which have been indexed against certain criteria. This
archive can be searched by entering search fields which returns a list
of all the relevant MSG files. Fine so far...These files can be viewed
by double clicking and invoking Outlook.
However, instead of simply returning a list of the MSG files, I would
LIKE to be able to import all the returned files back into a new
folder in Outlook.
I have tried CreateItemFromTemplate, but this creates a new instance
of the item, and leaves out much of the detail (namely the body of the
message in the case of emails). I have even tried Dmitry
Streblechenko's Outlook Redemption which works to a point but, again,
a new instance of the item is created, and there doesn't appear to be
a Safe NoteItem in the object model.
Basically, what I would like to know is :
is there any way of programmatically producing the SAME result as
dragging and dropping a MSG file into Outlook ??
I am using VB6 (Outlook COM Add-in)
Thanks in advance, and apologies for the long-winded nature of this
message.