email - VBScript Automating Exchange Mail Processing via Outlook in Scheduled Task -
email - VBScript Automating Exchange Mail Processing via Outlook in Scheduled Task -
i have vbscript loops through inbox items , makes database entries based on contents of emails.
i can run command prompt or double-click vbs file , runs fine. however, when seek run vbs task scheduler, doesn't much of anything.
i can see wscript.exe running right user, along outlook.exe in task manager, never executes code in vbs.
the task runs forever unless end it, @ point wscript , outlook executables exit.
i've tried running outlook, launching task , sec outlook executable opens under logged-in user (different email account) it's clear there's no action beingness taken vbscript.
i've tried using cscript generate output , error txt files both blank...
does have tips on determining what's going on here?
ultimately need script run every hr no 1 logged on.
update working using redemption rdo object instead of outlook.application object. give thanks much!
task scheduler runs service, , outlook (or other office app) cannot used in service. alternatives extended mapi (c++ or delphi only) or redemption (any language - rdo family of objects can used in service).
email vbscript outlook scheduled-tasks
Comments
Post a Comment