Home All Groups Group Topic Archive Search About

de/activate EventSinks by User

Author
26 Nov 2004 10:07 AM
Mario Kropik

Hi all,

I've got folowing problem with an exchange EventSink: I need to perform some
actions in an OnSave EventSink. The EventSink is going to be registered for
all users inbox at roll-out. The Sink itsself is working fine so far.

What we want is a possibility for our users to disable their event sink. As
the EventSink hidden - item is stored in their private mailbox I hope it's
possible to deactivate and reactivate the Sink via Outlook. All I need to
do - in theory - is to perform the same action as I do when I register the
Sink at exchange server but from client side.  Is it possible or do you have
any other ideas how to implement a solution for this needs?

An eventSink OnSave for a Inbox is IMO nothing else than a server side
exchange rule defined via outlook???
It would be great to be able to activate/deactivate the sink in Outlooks
rules-window. btw: Where are Outlook server side rules stored? I created a
server side rule with Outlook in a test mailbox, but couldn't detect any
item there with Exchange Explorer...

Thanks a lot for any comments.

Regards
Mario

Author
1 Dec 2004 6:40 AM
Tom Rizzo [MSFT]
You can use WebDAV to enable/disable the event sink.  They are different
than rules.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint?  Check out http://www.microsoft.com/MSPress/books/5517.asp



Show quoteHide quote
"Mario Kropik" <mario.kro***@nt-solutions.de> wrote in message
news:co6v9v$mrn$01$1@news.t-online.com...
> Hi all,
>
> I've got folowing problem with an exchange EventSink: I need to perform
> some actions in an OnSave EventSink. The EventSink is going to be
> registered for all users inbox at roll-out. The Sink itsself is working
> fine so far.
>
> What we want is a possibility for our users to disable their event sink.
> As the EventSink hidden - item is stored in their private mailbox I hope
> it's possible to deactivate and reactivate the Sink via Outlook. All I
> need to do - in theory - is to perform the same action as I do when I
> register the Sink at exchange server but from client side.  Is it possible
> or do you have any other ideas how to implement a solution for this needs?
>
> An eventSink OnSave for a Inbox is IMO nothing else than a server side
> exchange rule defined via outlook???
> It would be great to be able to activate/deactivate the sink in Outlooks
> rules-window. btw: Where are Outlook server side rules stored? I created a
> server side rule with Outlook in a test mailbox, but couldn't detect any
> item there with Exchange Explorer...
>
> Thanks a lot for any comments.
>
> Regards
> Mario
>
Are all your drivers up to date? click for free checkup

Author
1 Dec 2004 3:58 PM
Mario Kropik
Hi Tom,

I know that i can enable/disable event sinks using WebDAV. We've written a
little VB tool, that creates the Event Sink in every Mailbox similar to the
Registration Tool provideed by Exchange SDK. But I don't know an easy way
to give the users the possibility to run a server side script / program via
Outlook.

The script that will disable / enable the event sink is not the problem. I
know how to do that using WebDAV. I need some kind of event that raises this
server side script / programm within the user account's security context. My
script has to know which user's event sink should be disabled...

One possibility: An internal eMail adress disable-myev***@domain.com might
be a possible way. An event sink for the mailbox of this account, that
enables / disables the event sink in the sender's mailbox. But for several
reasons I do not want to implement this solutions.

I'd prefer an Outlook Form, that is not providing any Item. It should have a
simple button, that starts a script at the server with following parameter:
Form.Button was clicked at the Outlook Form within User XYZ's mailbox.... So
my server script would know which user's event sink has to be disabled...

Do you think this is possible? Or do you have any other ideas?

Mario

Show quoteHide quote
"Tom Rizzo [MSFT]" <thom***@microsoft.com> schrieb im Newsbeitrag
news:uclaTD31EHA.1860@TK2MSFTNGP15.phx.gbl...
> You can use WebDAV to enable/disable the event sink.  They are different
> than rules.
>
> Tom

Bookmark and Share