none
InboxItems_ItemAdd doesnt run when new mail comes in RRS feed

  • Question

  • I am setting up to go away and I thought to review some code I placed in Outlook VBA a long time ago which, upon receiving an email with a known subject wording, opens an application. Actually it was supposed to use FindWindowEx to detect the application if it is running, and close it - just in case it was hung. Then it uses Shell to start the application. I had to put it on about 4 computers, only 2 of which it worked on. The others, it just didn't respond. I never figured out why and sendkeys didn't do the trick either.

    Anyway, fast-forward to today: I'd like to have it working on my computer again (it did back then), however, new emails are not triggering the InboxItems_ItemAdd event.

    Any ideas?

    My Outlook has been wacked for a long time too. Cant get the address to autofill in the To box. The popup text shows after typing the initial letters, but tab or click doesn't cause it to enter. I have to fully write it out. Quite annoying


    50% of programming is coding. The other 90% is debugging

    Monday, October 12, 2015 8:20 AM

Answers