Just a guess: A service doesn't run under your account/credentials, so I suspect that the system account running the service doesn't have an Outlook account, and thus, no default folder to retrieve. If that's the case, perhaps there's a login API you could use after creating the OLE object but before accessing the default folder.
...bucket o' boltsIn reply to Re: Win32::OLE (Outlook) as a windows service
by roboticus
in thread Win32::OLE (Outlook) as a windows service
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |