Outlook VBA with ItemSend event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created some Outlook VBA code which uses the ItemSend event and is
invoked when I send an e-mail. It seems to work quite well.

With one exception -- when an e-mail message is created from outside of
Outlook.

For instance, from within Windows Explorer. I right-click on an item which
brings up a menu. I click on "Send to". I then click on "Mail Recipient".
This causes the creation of an e-mail message with has the item as an
attachment. When I send this e-mail, the ItemSend event procedure is not
invoked.

Why? What can I do to remedy this?

Larry
 
You can't do anything except not use that method. The MAPI SendTo stuff
doesn't correctly notify Outlook about what's going on. You also don't get
the NewInspector event so you don't even know when a new email item has been
opened.
 
Back
Top