Run macro on creating of a new e-mail

  • Thread starter Thread starter Russ T
  • Start date Start date
R

Russ T

I have a macro I would like to run every time I create a
new e-mail. Any help?
 
Hi Russ,

you can track the Inspectors.NewInspector event and check the
Inspector.CurrentItem for the Class and EntryID. If Class=olMail and
EntryID=vbNullstring then it is a new E-Mail.
 

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