How to detect when a message has created or been sent?

  • Thread starter Thread starter Richard Lewis Haggard
  • Start date Start date
R

Richard Lewis Haggard

I'm interested in two different events: the event that indicates that the
user wants to create a new email and the event that indicates that the user
has clicked on the Send key. How would I add code to catch and handle these
events?
 
Hi Richard,
the event that indicates that the
user wants to create a new email

Application.Inspectors.NewInspector

Check in the event if Inspector.CurrentItem is a MailItem and if
MailItem.EntryID="".
the event that indicates that the user
has clicked on the Send key.

MailItem.Send
 
Thanks, "Application_ItemSend" did the trick.
====
Richard Lewis Haggard
 

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

Back
Top