As noted elsewhere, an MSG file is not a "message stream" (MIME Message).
It is a MAPI message (OLE Structured Storage). You can't simply rename a
message from MSG to EML. The content is different. It's like trying to
rename a VSD (visio) file to DOC (word) and expecting it to open correctly.
Simpler-Webb, Inc. Austin, TX "Mauve has more RAM" -Dilbert
Exchange FAQ - http://www.swinc.com/resource/exch_faq.htm
> I wanted to retrive the attachments of the message.
> Some more interesting things about this are:
> 1. I had one .msg file which was saved from exchange 5.5 client. I copied
> to the folder - I got the notification - the contentclass was document.
> I renamed it to .eml - again I got the notification - this time the
> class is again document. Now if I copy this item and paste it again - I
> content class as Message - If I copy/paste this item n number of times
> time I get content class as Message and also I get all other properties.
> 2. If I create some .txt file and copy paste it each time I am able to get
> all of it's properties.
> So why this happens with the messages which are orignaly saved as .eml?
> > The file system works with the stream, not the metadata. So using
> > will only copy the stream...
> > BTW I think you mean the DAV properties?
> > -Jeff
> > > Hi all,
> > > I have written OnSyncSave WebStore Sink.
> > > When new email arrives at the inbox I get notification and get all the
> > > properties of the mail. For e.f DEV:contentclass, DEV:contenttype.
> > > But now if I copy the same mail from explorer and save again there I
> > > get those properties. they simply contain null.
> > > This happens with any other mail's also which I drag drop to that
> > > Also when I get the fields count for both the cases 147.
> > > Waht might be the reason?
> > > Thanks,
> > > Parth