Re: filtering notification in public folder

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Sorry, "PF does support store-wide notifications" should read "PF does *not*
support store-wide notifications"

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Dmitry Streblechenko" <dmitry@xxxxxxxxxxx> wrote in message
news:%23BFEYuixGHA.980@xxxxxxxxxxxxxxxxxxxxxxx
I cannot reproduce PF notifications from a different store (mailbox)
here...
PF does support store-wide notifications for the performance reasons
AFAIK: PF store is potentially used by multiple users, sos the
notifications traffic can consume a lot of network bandwidth. You *can*
listen for notifications related to a *particular* PF store object, i.e.
you must pass its entry id to IMsgStore::Advise()

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<outlookboy@xxxxxxxxx> wrote in message
news:1156268541.347031.129290@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I checked in couple of machines(winxp,OL2003 machine and win2k ,
OL2003) machine with Outlookspy, I m getting notification in PF only in
the win2k machine for changes in exchange mailbox and its not giving
notifications for PF changes.

What is the right strategy if i want to listen to PF changes?
Do you have any insights on why PF provider does not support store wide
notification.

Thanks in advance
Outlookboy


Dmitry Streblechenko wrote:
Are you sure????
PF provider does not even support store wide notification
(IMsgStore::Advise(0, NULL, ...))), it only allows to subscribe to the
notifications on a particular object only (message or folder).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<outlookboy@xxxxxxxxx> wrote in message
news:1156265509.753541.143830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi

I am developing a mapi application which listens to notifications
from all message stores in outlook.
for all stores, i do pStore->Advise(0, NULL,
fnevNewMail | fnevObjectCreated | fnevObjectDeleted |
fnevObjectModified | fnevObjectMoved |
fnevObjectCopied,
p, &ulConnection);
Everything works fine except that i m getting spurious(duplicate)
notification in exchange public folder for changes in my exchange
mailbox.(For example: If i move receive a mail in my inbox i m getting
a notification in my exchange mailbox as well as in public folder ).
Using the entryid from the notification, i am able to open the mail in
public folder.But this message cannot be seen in my Outlook public
folder.

Using outlookspy, when i do a IMSgStore::Advise() on Public
folders, I am getting the same behaviour. I m getting notified in
public folder for changes in my exchange mailbox. Using the entryid
from the notification i am able to open the message in my public
folder
message store.But i can't spot this item in Public Folders in my
Oulook.Moreover opening the parent (using the parent entryid)of the
notified item in public folder fails.

Whats causing this duplicate notification?
Is public folder actually keeping a copy of the changed item, How can
i
filter this unwanted notification?

I am on win2k with Outlook 2003.

Thanks in advance
Outlookboy






.



Relevant Pages

  • Re: Dynamic Hierarchy Table
    ... Here is my code that i'm using to "TRY" to update de hierarchy table. ... outlook, but it doesn't works. ... if goto finally; ... // Set proptagarray to notification info ...
    (microsoft.public.win32.programmer.messaging)
  • filtering notification in public folder
    ... from all message stores in outlook. ... a notification in my exchange mailbox as well as in public folder). ...
    (microsoft.public.win32.programmer.messaging)
  • filtering notification in public folder
    ... from all message stores in outlook. ... a notification in my exchange mailbox as well as in public folder). ...
    (microsoft.public.exchange2000.development)
  • Re: filtering notification in public folder
    ... I m getting notification in PF only in ... OutlookSpy - Outlook, CDO ... a notification in my exchange mailbox as well as in public folder). ...
    (microsoft.public.win32.programmer.messaging)
  • Re: RPC over HTTP high port UDP
    ... That traffic is most likely the Exchange Server new message notification ... Outlook registers itself for new message notifications. ... While polling is initiated by Outlook, ...
    (microsoft.public.exchange.connectivity)