Exchange 2003 - Public Folders via WebDav
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Exchange 2003 - Public Folders via WebDav

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
michael.smith



Joined: 23 Sep 2005
Posts: 1

Posted: Fri Sep 23, 2005 2:44 pm    Post subject: Exchange 2003 - Public Folders via WebDav Reply with quote

I am using the following code to flag a message in a public folder with a certain colored flag and mark it as read.

I have turned off user-specific read status for this public folder also, but while the code sets the appropriate flag color, it does not change the read bit.

Any ideas?

Code:

String updateQuery =  "<?xml version='1.0'?>" +
                                  "<a:propertyupdate xmlns:a='DAV:' xmlns:pt='http://schemas.microsoft.com/mapi/proptag/' xmlns:hm='urn:schemas:httpmail:'>" +
                                  "<a:set><a:prop>" +
                                  "<pt:x10950003>1</pt:x10950003>" +
                                  "<pt:x10900003>2</pt:x10900003>" +
                                  "<hm:read>1</hm:read>" +
                                  "</a:prop></a:set>" +
                                  "</a:propertyupdate>";


Back to top
View user's profile Send private message
Glen Scales [MVP]
Guest





Posted: Tue Nov 15, 2005 9:54 am    Post subject: Re: Exchange 2003 - Public Folders via WebDav Reply with quote

You might want to have a read of
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/11c47886-32a9-4776-ba8e-5d250488264d.asp
especially "Therefore, a client such as the Microsoft® Exchange Client or
Microsoft® Outlook® may continue to show the message as unread for some
indeterminate period of time" . A way to force this to change sometimes is
to update PR_MESSAGE_FLAGS property yourself.

Cheers
Glen

"michael.smith" <michael.smith@data393-dot-com.no-spam.invalid> wrote in
message news:suOdnadFdtoj3eTeRVn_vQ@giganews.com...
Quote:
I am using the following code to flag a message in a public folder
with a certain colored flag and mark it as read.

I have turned off user-specific read status for this public folder
also, but while the code sets the appropriate flag color, it does not
change the read bit.

Any ideas?


String updateQuery = "<?xml version='1.0'?>" +
"<a:propertyupdate
xmlns:a='DAV:'
xmlns:pt='http://schemas.microsoft.com/mapi/proptag/'
xmlns:hm='urn:schemas:httpmail:'>" +

"<a:set><a:prop>" +

"<pt:x10950003>1</pt:x10950003>" +

"<pt:x10900003>2</pt:x10900003>" +

"<hm:read>1</hm:read>" +

"</a:prop></a:set>" +

"</a:propertyupdate>";

Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB