[python-win32] PyIMAPISession && IID_IMAPIAdviseSink
Arn Vollebregt
arn.vollebregt at xs4all.nl
Mon Jun 7 16:53:06 CEST 2010
Hi,
A while ago I asked a question[1] about hooking MAPI events in Outlook.
Although this question was answered[2] back then, I am afraid I am still
stuck on the subject: It seems I have been able to hook the AdviseSink,
but the onNotify() never fires. However, the fnevNewMail[3] event is seen
by OutlookSpy[4] in the IMsgStore::Advise() tab on the folder in question,
so I must be doing something wrong.
I have attached my example code, and would appreciate any pointers on the
subject.
Regards,
Arn Vollebregt
[1] http://mail.python.org/pipermail/python-win32/2009-August/009503.html
[2] http://mail.python.org/pipermail/python-win32/2009-August/009504.html
[3] http://msdn.microsoft.com/en-us/library/cc765897.aspx
[4] http://www.dimastr.com/outspy/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hook.py
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100607/e66afdc8/attachment.ksh>
More information about the python-win32
mailing list