View Single Post
  #2  
Old April 8th 08, 05:44 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

The change is made after the item is sent and no longer accessible to any
event handler in Outlook. You could trap the ItemAdd event on the Items
collection of the Sent Items folder but by then the item has already been
changed and depending on settings might not even go to Sent Items.

--
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
...
Hi,

I am writing an Outlook Add-in (in Visual C++) through which I need to
identify all outgoing emails that are digitally signed (S/MIME).
Using the 'ItemSend' event does not help since it triggers my event
handler before digitally signing the email. The value of the
PR_MESSAGE_CLASS in my event handler is simply "IPM" but after the email
is sent the value shows "IPM.Note.SMIME.MultipartSigned".

Is there a way to trigger my event handler after all other operations on
the email have been completed? And also, I want to be able to cancle the
sending of the email through my event handler, similar to what ItemSend
provides.

Thanks,
Darshan


Ads