Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 23 Jun 2005 07:48:19 -0700,    group: microsoft.public.exchange2000.development        back       


Howto move / copy items   
Hi,
I have done extensive Googling over the last few days and can't see a
definitive way of doing this. Hopefully someone can help.

We have an Exchange 2K3 FE/BE cluster. The main MAPI store is set up on
one of the FE servers. It is used as a document libray, with all sorts
of documents (notes, eml, Word....).
For various reasons, we have another WSS(ESS) store on another FE
server.
We were hoping to offer a web interface that allowed the owners of
these items tomove or copy them between these stores.

The first attempt used streams to duplicate the items (as per the
article on MSDN). However, I wasn't aware at the time that ExOLEDB
doesn't work across servers (found that in the readme) or that our
stores would indeed be on different servers. The readme suggested using
webdav/xmlhttp. I have managed to get this to work for simple items
(such as .emls) but not for compound (OLE) docs. The doc is created
with 0 bytes.

One poster in a newsgroup suggested that you can't get the native
stream via xmlhttp. It would seem to be correct because I can't find
any examples of this.

Has anyone faced a similar problem, and managed to overcome it?

I am no Exchange expert, so hopefully this terminology is
understandable!

Thanks in advance

Mark
date: 23 Jun 2005 07:48:19 -0700   author:   unknown

Re: Howto move / copy items   
The ability to get "native" content out of Exchange via WebDAV exists with a 
tweak of the Accept: header value in a GET request.   Normally, one would 
use "message/rfc822" for this space to ensure that the content is a MIME 
message *without* TNEF.

When specifying "Accept: application/ms-tnef" in a GET, Translate: F request 
for any message, you'll get an RFC2822 message with its original MIME 
structure *or* you'll get a message with a Content-Type of 
application/ms-tnef, which contains the encoded RTF, OLE and other esoteric 
Exchange properties encoded in a TNEF blob.  You can use a PUT or POST to 
add this item to another mailbox, with little-to-no loss of fidelity.  Just 
don't ask me how to parse the blob; can't help you there.

Regards,
Karim Batthish, Microsoft

 wrote in message 
news:1119538099.507187.206850@z14g2000cwz.googlegroups.com...
> Hi,
> I have done extensive Googling over the last few days and can't see a
> definitive way of doing this. Hopefully someone can help.
>
> We have an Exchange 2K3 FE/BE cluster. The main MAPI store is set up on
> one of the FE servers. It is used as a document libray, with all sorts
> of documents (notes, eml, Word....).
> For various reasons, we have another WSS(ESS) store on another FE
> server.
> We were hoping to offer a web interface that allowed the owners of
> these items tomove or copy them between these stores.
>
> The first attempt used streams to duplicate the items (as per the
> article on MSDN). However, I wasn't aware at the time that ExOLEDB
> doesn't work across servers (found that in the readme) or that our
> stores would indeed be on different servers. The readme suggested using
> webdav/xmlhttp. I have managed to get this to work for simple items
> (such as .emls) but not for compound (OLE) docs. The doc is created
> with 0 bytes.
>
> One poster in a newsgroup suggested that you can't get the native
> stream via xmlhttp. It would seem to be correct because I can't find
> any examples of this.
>
> Has anyone faced a similar problem, and managed to overcome it?
>
> I am no Exchange expert, so hopefully this terminology is
> understandable!
>
> Thanks in advance
>
> Mark
>
date: Wed, 29 Jun 2005 15:09:02 -0700   author:   Karim Batthish [msft]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us