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: Mon, 10 Mar 2008 09:04:41 -0700 (PDT),    group: microsoft.public.exchange.development        back       


.EML file download issues WebDAV   
Hi all, I'm having a great deal of difficulty using webDAV to get
the .eml file of the message.

I can get the messages that have changed since the last time I looked
just fine with a nice little search query, but when i try and download
the returned message I get a Bad Request Error and the url that I'm
getting doesn't look at all like the one that OWA uses to view the
actual message.

Here's what I'm getting:

From the a:href property returned by the webDav request:

https://<ServerAddress>/Exchange/jhancock/Inbox/Test%207.EML

From the http://schemas.microsoft.com/exchange/permanenturl:

https://<ServerAddress>/Exchange/jhancock/-FlatUrlSpace-/684f651d98ed2148a50e04aded4dc8e9-5643a8e73f/684f651d98ed2148a50e04aded4dc8e9-63aad5165a

From OWA:

https://<ServerAddress>/owa/?ae=Item&a=Open&t=IPM.Note&id=RgAAAADlji%2fZp3owQLIuCh92D0gKBwBoT2UdmO0hSKUOBK3tTcjpAFZDqOc%2fAABoT2UdmO0hSKUOBK3tTcjpAFZDqO2VAAAJ


If I put any of those into internet explorer (I've turned off forms
authentication for now and am just using basic auth) only the OWA one
works. The rest bring up the owa interface with a cannot be found
error in the message preview area.

My understanding is that the first one if done with a httpwebrequest
and a get as the method should download the .eml file intact. Is that
not so?

How do I reliably get the .eml file from the server? What am I doing
wrong?

Thanks!
date: Mon, 10 Mar 2008 09:04:41 -0700 (PDT)   author:   unknown

Re: .EML file download issues WebDAV   
Hello,

if you want do download the .eml file, you'll have to add a "Translate: f" 
header to your request. This prevents OWA from kicking in.

Kind regards,
Henning

 wrote in message 
news:39878450-29b9-481b-9f25-96ca24986c2f@8g2000hse.googlegroups.com...
> Hi all, I'm having a great deal of difficulty using webDAV to get
> the .eml file of the message.
>
> I can get the messages that have changed since the last time I looked
> just fine with a nice little search query, but when i try and download
> the returned message I get a Bad Request Error and the url that I'm
> getting doesn't look at all like the one that OWA uses to view the
> actual message.
>
> Here's what I'm getting:
>
> From the a:href property returned by the webDav request:
>
> https://<ServerAddress>/Exchange/jhancock/Inbox/Test%207.EML
>
> From the http://schemas.microsoft.com/exchange/permanenturl:
>
> https://<ServerAddress>/Exchange/jhancock/-FlatUrlSpace-/684f651d98ed2148a50e04aded4dc8e9-5643a8e73f/684f651d98ed2148a50e04aded4dc8e9-63aad5165a
>
> From OWA:
>
> https://<ServerAddress>/owa/?ae=Item&a=Open&t=IPM.Note&id=RgAAAADlji%2fZp3owQLIuCh92D0gKBwBoT2UdmO0hSKUOBK3tTcjpAFZDqOc%2fAABoT2UdmO0hSKUOBK3tTcjpAFZDqO2VAAAJ
>
>
> If I put any of those into internet explorer (I've turned off forms
> authentication for now and am just using basic auth) only the OWA one
> works. The rest bring up the owa interface with a cannot be found
> error in the message preview area.
>
> My understanding is that the first one if done with a httpwebrequest
> and a get as the method should download the .eml file intact. Is that
> not so?
>
> How do I reliably get the .eml file from the server? What am I doing
> wrong?
>
> Thanks!
date: Mon, 10 Mar 2008 19:31:34 +0100   author:   Henning Krause [MVP - Exchange]

Re: .EML file download issues WebDAV   
Thanks! Worked like a charm!
date: Tue, 11 Mar 2008 12:55:49 -0700 (PDT)   author:   John Galt

Re: .EML file download issues WebDAV   
Thanks!

On 10 Mrz., 20:31, "Henning Krause [MVP - Exchange]"
 wrote:
> Hello,
>
> if you want dodownloadthe .eml file, you'll have to add a "Translate: f"
> header to your request. This prevents OWA from kicking in.
>
> Kind regards,
> Henning
>
>  wrote in message
>
> news:39878450-29b9-481b-9f25-96ca24986c2f@8g2000hse.googlegroups.com...
>
>
>
> > Hi all, I'm having a great deal of difficulty usingwebDAVto get
> > the .eml file of the message.
>
> > I can get the messages that have changed since the last time I looked
> > just fine with a nice little search query, but when i try anddownload
> > the returned message I get a Bad Request Error and the url that I'm
> > getting doesn't look at all like the one that OWA uses to view the
> > actual message.
>
> > Here's what I'm getting:
>
> > From the a:href property returned by thewebDavrequest:
>
> > https://<ServerAddress>/Exchange/jhancock/Inbox/Test%207.EML
>
> > From thehttp://schemas.microsoft.com/exchange/permanenturl:
>
> > https://<ServerAddress>/Exchange/jhancock/-FlatUrlSpace-/684f651d98ed2148a5­0e04aded4dc8e9-5643a8e73f/684f651d98ed2148a50e04aded4dc8e9-63aad5165a
>
> > From OWA:
>
> > https://<ServerAddress>/owa/?ae=Item&a=Open&t=IPM.Note&id=RgAAAADlji%2fZp3o­wQLIuCh92D0gKBwBoT2UdmO0hSKUOBK3tTcjpAFZDqOc%2fAABoT2UdmO0hSKUOBK3tTcjpAFZD­qO2VAAAJ
>
> > If I put any of those into internet explorer (I've turned off forms
> > authentication for now and am just using basic auth) only the OWA one
> > works. The rest bring up the owa interface with a cannot be found
> > error in the message preview area.
>
> > My understanding is that the first one if done with a httpwebrequest
> > and a get as the method shoulddownloadthe .eml file intact. Is that
> > not so?
>
> > How do I reliably get the .eml file from the server? What am I doing
> > wrong?
>
> > Thanks!- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
date: Mon, 28 Apr 2008 01:32:27 -0700 (PDT)   author:   Jürgen Gutsch

Google
 
Web ureader.com


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