I've successfully put in an HTTP request (using the X-MS-ENUMATTS method) to get the attachment url of a given message. Part of the XML returned back is: <a:response> <a:href>http://srv/exchange/account/Inbox/Test.EML/Attachment.doc</a:href> <a:propstat> <a:status>HTTP/1.1 200 OK</a:status> <a:prop> <d:x3703001f>.doc</d:x3703001f> <d:x3704001f>Attachment.doc</d:x3704001f> ............ </a:prop> </a:propstat> </a:response> Now I would like to download the given attachment on the local computer and send a GET request to the previously found url (http://srv/exchange/account/Inbox/Test.EML/Attachment.doc) and the server responds with a 403 FORBIDDEN status. What could be wrong? Is there some option in the Exchange Server configuration which wouldn't allow downloading attachments through WebDAV? Any suggestions would be greatly appreciated. PS: I use the System.Net.HttpWebRequest class in .Net to make my requests and I am sending the currently connected user credentials in order to authenticate.
I found the answer myself. I had to add the "Translate: f" header to my GET request and was able to successfully fetch the attachment.