Import .msg files, drag and drop doesn't work!

  • Thread starter Thread starter Marta Pia
  • Start date Start date
M

Marta Pia

Hello,

I am trying to import .msg files in its original format. If I try to
drag and drop into outlook, a new message is created with the original
..msg file name as the subject and the sender as me! I would like them
in their original format. Is this possible?

Thanks,
Marta
 
I am trying to import .msg files in its original format. If I try to
drag and drop into outlook, a new message is created with the original
.msg file name as the subject and the sender as me! I would like them
in their original format. Is this possible?
Well, I'll answer my own question for others who may be interested.
After testing in Outlook 2000, 2002 and 2003 I have discovered it is
not possible, although logically it should be. We will have to write
a little add on to our program to do this programatically instead.

Take Care,
Marta
 
Another clarification here after a bit more testing. When messages
are dragged from Outlook and dropped in any location, they can be
re-dragged into Outlook a later time with their structure intact -
same subject line, dates, attachments etc..

When, however, the messages are programmatically exported using MAPI
into .msg format, they can no longer be dragged and dropped as
messages into Outlook. Instead they are treated as a non-.msg files -
a new message is created with the subject line as the dragged .msg
file name and the dragged .msg file itself as an attachment.
Curiously enough, double clicking on these .msg files will open them
in Outlook.

As an additional teaser, if the same message is MAPI exported and
dragged and dropped, there is a 1kb difference in size, plus a binary
WinDiff (VS6) lists other differences between the two.

Does anyone know what the best way to programmatically export msg
files to retain the structure ? What does the drag & drop from
Outlook do that a MAPI export does not? Any help would be
appreciated.

Take Care,
Marta
 
Back
Top