Melbin
Guest
|
Posted:
Thu Aug 18, 2005 8:59 am Post subject:
WebDAV Notifications |
|
|
I want to develop an application for getting the notifications when a
message is read/deleted for about 40,000 mailboxes. I am using Exchange
server 2000/2003. i am using that as the email server also. I tried to use
the
Advisesink using MAPI but then i came across the problem of the limitation of
255 mailboxes in a single process. For 40,000 mailboxes if i am using
seperate processes it will come upto 200 processes which is not feasible. I
read about "Exchange store events: synchronous events, asynchronous
events, and system events". But there no way to get the READ
notification.
I got an example as follows from this discussion group for getting the
notification using WebDAV. In the WeDAV notifications ObjectModified and
ObjectDeleted is there, so i think i will be getting the read and delete
events. But then i wanted to know is there any limitation in WebDAV also like
there in MAPI for 255 mailboxes on a single process. I read that "You cannot
open more than 256 mailboxes by using WebDAV in Exchange Server
2003"(http://www.kbalertz.com/kb_826295.aspx) . Are we opening the mailbox
for using the WebDAV notification as in MAPI?
************************************
sURL = "http://flspexuser02/exchange/nlopes/inbox/"
' Create the XMLHTTP request object.
Set req = New XMLHTTP40
' Specify the WebDAV method
req.Open "SUBSCRIBE", sURL, False, sUsername, sPassword
' Set the Content-Type header to "text/xml".
req.setRequestHeader "Content-Type", "text/xml"
req.setRequestHeader "Call-Back", "http://FLSP8H8FC31:8080"
'"162.123.56.87:8080"
req.setRequestHeader "Notification-type", "delete"
req.setRequestHeader "Subscription-lifetime", "10"
Set reqDoc = New MSXML2.DOMDocument40
' Send the request.
req.Send
************************************
Thanks a lotz in advance
Melbin
|
|
Tom Rizzo [MSFT]
Guest
|
Posted:
Wed Aug 31, 2005 8:59 am Post subject:
Re: WebDAV Notifications |
|
|
You'll run into the same issues with WebDAV as well.
Tom
--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp
"Melbin" <Melbin@discussions.microsoft.com> wrote in message
news:06650EDB-E260-41BC-BAA9-38883F8290F3@microsoft.com...
| Quote: | I want to develop an application for getting the notifications when a
message is read/deleted for about 40,000 mailboxes. I am using Exchange
server 2000/2003. i am using that as the email server also. I tried to use
the
Advisesink using MAPI but then i came across the problem of the limitation
of
255 mailboxes in a single process. For 40,000 mailboxes if i am using
seperate processes it will come upto 200 processes which is not feasible.
I
read about "Exchange store events: synchronous events, asynchronous
events, and system events". But there no way to get the READ
notification.
I got an example as follows from this discussion group for getting
the
notification using WebDAV. In the WeDAV notifications ObjectModified and
ObjectDeleted is there, so i think i will be getting the read and delete
events. But then i wanted to know is there any limitation in WebDAV also
like
there in MAPI for 255 mailboxes on a single process. I read that "You
cannot
open more than 256 mailboxes by using WebDAV in Exchange Server
2003"(http://www.kbalertz.com/kb_826295.aspx) . Are we opening the mailbox
for using the WebDAV notification as in MAPI?
************************************
sURL = "http://flspexuser02/exchange/nlopes/inbox/"
' Create the XMLHTTP request object.
Set req = New XMLHTTP40
' Specify the WebDAV method
req.Open "SUBSCRIBE", sURL, False, sUsername, sPassword
' Set the Content-Type header to "text/xml".
req.setRequestHeader "Content-Type", "text/xml"
req.setRequestHeader "Call-Back", "http://FLSP8H8FC31:8080"
'"162.123.56.87:8080"
req.setRequestHeader "Notification-type", "delete"
req.setRequestHeader "Subscription-lifetime", "10"
Set reqDoc = New MSXML2.DOMDocument40
' Send the request.
req.Send
************************************
Thanks a lotz in advance
Melbin
|
|
|