Re: WebDAV mark as read?



Hi Everybody

We develope and function that contain code mentioned below that is working
perfect with Exchange server 2003 but this is not working with Exchange
Server 2007.

Thanks

Best Regards
Sameen Khan

"sameen" wrote:

Dear Henning

Thanks for your support we found the solution actually we need additional
parameter in WebDAV schema request.

" <?xml version=\"1.0\" encoding=\"utf-8\" ?>
<D:propertyupdate xmlns:b='urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/'
xmlns:e='urn:schemas:httpmail:' xmlns:z='urn:schemas:mailheader:'
xmlns:c='xml:' xmlns:f='http://schemas.microsoft.com/exchange/'
xmlns:g='urn:schemas-microsoft-com:office:office'
xmlns:h='http://schemas.microsoft.com/repl/'
xmlns:i='urn:schemas-microsoft-com:exch-data:' xmlns:D='DAV:'>"

Try this out in your SDK it will resolve Read/Unread issue in your SDK

Regards
Sameen Khan

"Al" wrote:

Dear Henning,
we tried your exchange library on
http://www.infinitec.de/libraries/exchange/default.aspx

and it had the same issue (not setting the read/unread). Other properties we
can control fine..
Have you encountered such issue yourself?


"Al" wrote:

dear Henning,
I am Sameen colleague.. we tried your recommendation but it did not work..
we are really newbies on webdav and struggling to make things moving.. my
guess is that we are doing something wrong with the way we are accessing the
email to alter the property but we don’t have a clear idea.. would you be so
kind and give us sample code or pseudo code to set an email flag to
read\unread?

"Henning Krause [MVP - Exchange]" wrote:

Hello,

to set the messageflags to 0, use this xml fragment:

<?xml version='1.0'?><D:propertyupdate xmlns:D='DAV:'>
<D:set><D:prop>
<xe070003 xmlns='http://schemas.microsoft.com/mapi/proptag/'>0</xe070003>
</D:prop></D:set></D:propertyupdate>

Best regards,
Henning Krause

"sameen" <sameen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:45D628FD-66A8-48A1-B8E2-712486E16684@xxxxxxxxxxxxxxxx
Can you please guide me how can i use this flag (PR_MESSAGEFLAGS) from C#
WebDAV Application?


"sameen" wrote:

How you please guide me how can i use this flag (PR_MESSAGEFLAGS) from C#
WebDAV Application?

"Luke" wrote:

Yeah, I tried that too. Eventually I figured out that adding
"no-cache"
headers to all my requests fixed everything.

"Henning Krause [MVP - Exchange]" wrote:

Hello,

try to set bit 0 of
http://schemas.microsoft.com/mapi/proptag/xe070003
(PR_MESSAGEFLAGS) to 1.

Haven't tried that, but looks promising.

Best regards,
Henning Krause


"Luke" <Luke@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5F15328B-949E-46B7-A925-99FFAB800B72@xxxxxxxxxxxxxxxx
I'm using WebDAV on Exchange 2003. I am looking for unread
messages with
attachments then downloading those attachments. This part works
fine.
The
problem is that setting the "urn:schemas:httpmail:read" attribute
seems to
do
nothing. It doesn't mark read messages as unread and it doesn't
mark
unread
messages as read. The PROPPATCH response indicates success, but it
is not
reflected in the store on the server. I spent hours looking at
various
resources, but couldn't find anything. What could be causing this?




.



Relevant Pages

  • RE: Webdav Authentication
    ... credentials with your app server. ... I'm curious what you would be trying to do with WebDAV where you WOULDN'T ... | We have an application that communicates with Exchange via webdav. ... | having to store the credentials on our appserver. ...
    (microsoft.public.exchange.development)
  • Re: Exchange 2003 install problems
    ... Alaa Al-Ankar ... try to search for mail-enabled users, which has exchange attributes only. ... running Server 2003 and have just installed exchange again but it has ...
    (microsoft.public.exchange.setup)
  • Re: Public Task List
    ... Henning Krause ... Try my free Exchange Explorer: ... >> is the Webserver on the same machine as the Exchange server? ... >> Another choice could be WebDAV, which is an extension of the HTTP ...
    (microsoft.public.exchange.development)
  • Re: Recover mail halted in E2K3s Categorizer?
    ... > all those messages that was halted deep inside Exchange? ... > I have checked the Queue, PickUp and BadMail folder of the server and the ... the mail sent to DLs was ... > Kind regards, Ola Theander ...
    (microsoft.public.exchange.admin)
  • Re: Moving mail boxes exchange 2003/2000
    ... > new server and getting a warning application event viwer ID 4006 ... >> Regards, ... >>> the exchange 2003 and done the replication. ... >>> all the mail boxes I moved two mail boxes to test send and receive, ...
    (microsoft.public.exchange2000.setup.installation)

Loading