Raising Application_ItemSend Event when sending mails from other office applications

T

Tom

Hi,

I've written a small code inside ThisOutlookSession to do things when
sending mails.
It works fine, except when I use File/'Send to' inside other office apps :
the Event is not raised !

I've tried dozen of methods and workarounds, but the Application_ItemSend is
never called when sending mails from other applications.
However, with OutlookSpy (http://www.dimastr.com/outspy/), when showing the
Application Brower's Event Log, I can see the ItemSend() Event when I send
an Email from Excel.

I'm sure there is a way, but I can't find It. Do you have clues ?


My code sample (very simplified) :

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
MsgBox ("Hello !!")
End Sub


Thanks,

Thomas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top