View Single Post
  #4  
Old April 9th 08, 05:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Is there a 'Post send' event for an email

I have no idea about any MAPI hooks, but if you intend to program in
Extended MAPI you can only do it using C++ or Delphi. You'd have to ask
about the hook in microsoft.public.win32.programmer.messaging, a group for
MAPI.

You can get that button's ID and find it and check its state. I have no idea
what the ID would be however. If you use OutlookSpy you can use the
Inspector button in an open email and go to the CommandBars tab to find the
ID you'd need.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Darshan" darshan.tilak@gmail wrote in message
...
Thanks for the info.

I also read something about the ISpoolerHook Interface in MAPI. Will that
be helpful to achieve my purpose? or even that will trigger after the
email has been sent?
Also, the description of the ISpoolerHook interface reaised a doubt in my
mind that will I, as an Add-in writer, be able to use/implement it?

Apart from that, I can see that when I send an email, the "Digitall Sign"
button (on the email window) is pressed. Is it possible to somehow track
the status (button_down/button_up) of this button inside the ItemSend
event handler? And would that be a reliable way to track if my email is
going to be digitally signed?

Please let me know if there is any way at all, using which I can track
such emails in Outlook?

Thanks,
Darshan


Ads