Importing MSG files back into Outlook 
Author Message
 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.



Sat, 03 Jan 2004 16:28:04 GMT  
 Importing MSG files back into Outlook
If you use Redemption, all you really need is a SafeMailItem. When an MSG file
is imported to a Redemption item and then saved, it will have the message class
of the imported file. E.g. if you create a SafeContactItem, import MSG file of
type IPM.Task and save it, when it is opened the next time, it will be a task
item.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool


Quote:
> 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.



Sun, 04 Jan 2004 04:58:03 GMT  
 Importing MSG files back into Outlook
Thanks - it worked !!
Quote:

> If you use Redemption, all you really need is a SafeMailItem. When an MSG file
> is imported to a Redemption item and then saved, it will have the message class
> of the imported file. E.g. if you create a SafeContactItem, import MSG file of
> type IPM.Task and save it, when it is opened the next time, it will be a task
> item.

> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool



> > 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...........



Mon, 05 Jan 2004 18:12:50 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Can I get .MSG files back into Outlook???

2. HOW TO in VB :Outlook MSG DROP in Explorer creates a MSG File

3. How to import saved .msg attachment into Outlook

4. Save changes back to a previously saved .msg file

5. Please Help with file .msg (Outlook file)

6. Importing .msg files into an InfoStore progromatically...

7. Importing .msg files into an InfoStore progromatically...

8. See if a Outlook.Mailtem is a .msg-file or an item in a folder

9. Opening .msg files in Outlook via COM

10. Retreiving an Outlook msg from a file in VB

11. open a message file *.msg in outlook 2000 using vba

12. reading outlook msg files

 

 
Powered by phpBB® Forum Software