Macro executing on receipt of new mail message

P

Paul Reilly

Hi,
I have created a macro which I want to run when a new mail
message arrives. I am using outlook 2000 and can't get
this to work. Has anyone got a solution?

Thanks, Paul
 
G

Guest

Ken,
Could I use a newMail event and what's the difference
between this and a ItemAdd event?

Thanks, Paul
 
K

Ken Slovak - [MVP - Outlook]

NewMail only fires at intervals and doesn't give you the item(s) that came
in. ItemAdd fires for every item that comes in (unless too many come in at
one time or you take too much time in the ItemAdd handler) and gives you the
item that came in.
 
Top