microsoft.public.exchange.development
[Top] [All Lists]

Re: Event from Exchange Sever

Subject: Re: Event from Exchange Sever
From: "Henning Krause"
Date: Mon, 16 Oct 2006 21:05:55 +0200
Newsgroups: microsoft.public.exchange.development
Hello Samual,

both is possible. You can either register an OnSyncSave or OnSyncDelete event (which are synchronous - you get exclusive read/write access on the item) or an OnSave / OnDelete event (Which are asynchronous).

All these events can be used with a COM+ component (Say VB6 ActiveX or C++ or .NET assembly). Another option is VBScript, but that's not very efficient in terms of speed.

A timer event is also possible (OnTimer event), but I wouldn't use it, because I don't see a benefit of running the COM+ application/vbscript from within Exchange - I would write a windows service (Which is a no-brainer in .NET, btw).

See http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_exch2k_using_store_events.asp for examples. If you use .NET, see www.infinitec.de/articles/exchange/managedeventsinks.aspx">http://www.infinitec.de/articles/exchange/managedeventsinks.aspx for more information.

Best regards,
Henning Krause



"Samuel" <spayet@xxxxxxxxxx> wrote in message news:%23w2Ja7O8GHA.3736@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I've heard of the possibility to make script fired by Exchange events (EventSink). The problem is that all the test I made on this doesn't work. I read a lot of articles on microsoft and MSDN site and I even do a step by step article found on MSDN but all of that doesn't work.

I thought so to try another way and would like to know if it's possible to fired a script by an Exchange timer? I explain. Instead of an event, the Exchange server will execute the script all five minutes for exemple.

Is it possible?

if not, can I have some help to create Eventsink?

I try these articles :
                                msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp
                                support.microsoft.com/kb/317680">http://support.microsoft.com/kb/317680

thanks

PAYET Samuel



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy