Macro executing on receipt of new mail message

  • Thread starter Thread starter Paul Reilly
  • Start date Start date
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
 
Ken,
Could I use a newMail event and what's the difference
between this and a ItemAdd event?

Thanks, Paul
 
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.
 
Great but not working for me

Ken,

I hope that you're still out there. This post is exactly what I've been looking for to create my own mail filter rules. I have implemented it as described by the post that you referred to but it doesn't seem to do anything. I tried adding a msgbox to the application startup section for debugging but it doesn't seem to do run either. When I tried clicking on the run macro button I get the following messsage "The macros in this project are disabled" - mind you I'm not sure you can run it that way. I'm running Outlook 2000, thanks in advance for any help.

Regards,

Perry.
 
Back
Top