Outlook VBA with ItemSend event

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 

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