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
 
Back
Top