You need to write some VBA code

来源: 2011-03-03 10:15:59 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

Open Visual Basic Editor from your outlook application and right-click on "ThisOutlookSession" and choose "view code". Then select "Application" and "New Mail" in the dropdown lists. Now you can add code in the Application_NewMail() sub. Basically, you just need to set some conditions and call pj.bat file. I don't know how to make a call with pj.